Skip to content

Commit 18ef10b

Browse files
committed
[TOOL-2890] Dashboard: Fix spelling issues (#5891)
<!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on fixing typos, improving comments, and enhancing code readability across various files in the project. ### Detailed summary - Corrected typos in text labels (e.g., `Manange` to `Manage`, `Comunity` to `Community`). - Improved comments for clarity (e.g., `Fix colors on autofilled inputs` to `Fix colors on auto-filled inputs`). - Standardized variable names (e.g., `dispalyName` to `displayName`). - Enhanced consistency in formatting (e.g., `balancesisPending` to `balancesIsPending`). - Fixed minor grammatical issues in comments and strings throughout the code. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 0a7beb8 commit 18ef10b

File tree

62 files changed

+129
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+129
-129
lines changed

apps/dashboard/src/@/api/team.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export async function getTeams() {
6464
return null;
6565
}
6666

67-
type TeamNebulWaitList = {
67+
type TeamNebulaWaitList = {
6868
onWaitlist: boolean;
6969
createdAt: null | string;
7070
};
@@ -86,7 +86,7 @@ export async function getTeamNebulaWaitList(teamSlug: string) {
8686
);
8787

8888
if (res.ok) {
89-
return (await res.json()).result as TeamNebulWaitList;
89+
return (await res.json()).result as TeamNebulaWaitList;
9090
}
9191

9292
return null;

apps/dashboard/src/@/components/ui/button.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const AllVariants: Story = {
2020

2121
function Component() {
2222
return (
23-
<div className="flex min-h-screen flex-col gap-6 bg-background p-6 text-foregroun">
23+
<div className="flex min-h-screen flex-col gap-6 bg-background p-6 text-foreground">
2424
<Variants size="default" />
2525
<Variants size="sm" />
2626
<Variants size="icon" />
@@ -58,7 +58,7 @@ function Variants(props: {
5858
{props.size === "icon" ? (
5959
<StarIcon className="size-4" />
6060
) : (
61-
"Desctructive"
61+
"Destructive"
6262
)}
6363
</Button>
6464
</div>

apps/dashboard/src/@/components/ui/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const buttonVariants = cva(
1515
destructive:
1616
"bg-destructive hover:bg-destructive/90 text-semibold text-destructive-foreground ",
1717
outline:
18-
"border border-input bg-transaprent hover:bg-accent hover:text-accent-foreground text-semibold",
18+
"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground text-semibold",
1919
secondary:
2020
"bg-secondary hover:bg-secondary/80 text-semibold text-secondary-foreground ",
2121
ghost: "hover:bg-accent text-semibold hover:text-accent-foreground",

apps/dashboard/src/@/components/ui/select.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function randomName() {
3131

3232
function Component() {
3333
return (
34-
<div className="flex min-h-screen flex-col gap-10 bg-background p-6 text-foregroun">
34+
<div className="flex min-h-screen flex-col gap-10 bg-background p-6 text-foreground">
3535
<BadgeContainer label="5 items, no placeholder, no label, value filled">
3636
<SelectDemo listItems={5} selectFirst />
3737
</BadgeContainer>

apps/dashboard/src/@/constants/thirdweb.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function useThirdwebClient(jwt?: string) {
3232
});
3333

3434
return useMemo(
35-
// prfer jwt from props over the one from the token query if it exists
35+
// prefer jwt from props over the one from the token query if it exists
3636
() => getThirdwebClient(jwt || query.data),
3737
[jwt, query.data],
3838
);

apps/dashboard/src/@/lib/DashboardRouter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function DashboardRouterTopProgressBarInner() {
100100
}
101101

102102
async function startEffect() {
103-
// if the loading state remains for atleast 500ms start the progress bar
103+
// if the loading state remains for at least 500ms start the progress bar
104104
await wait(500);
105105
if (isMounted) {
106106
updateProgressBar(0, 100);

apps/dashboard/src/@/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ body {
143143
min-height: 100%;
144144
}
145145

146-
/* Fix colors on autofilled inputs */
146+
/* Fix colors on auto-filled inputs */
147147
input:-webkit-autofill,
148148
input:-webkit-autofill:hover,
149149
input:-webkit-autofill:focus,

apps/dashboard/src/@3rdweb-sdk/react/hooks/useActivity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export interface InternalTransaction {
2222
export function useActivity(contract: ThirdwebContract, autoUpdate?: boolean) {
2323
const abiQuery = useResolveContractAbi(contract);
2424

25-
// Get all the PreprareEvents from the contract abis
25+
// Get all the Prepare Events from the contract abis
2626
const events: PreparedEvent<AbiEvent>[] = useMemo(() => {
2727
const eventsItems = (abiQuery.data || []).filter((o) => o.type === "event");
2828
const eventSignatures = eventsItems.map((event) => formatAbiItem(event));

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/client/add-chain-to-wallet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const AddChainToWallet: React.FC<AddChainToWalletProps> = (props) => {
4747
className="w-full gap-2"
4848
variant="outline"
4949
onClick={() => {
50-
// Connct directly to this chain
50+
// Connect directly to this chain
5151
if (!account) {
5252
return customConnectModal({ chain: props.chain });
5353
}

apps/dashboard/src/app/(dashboard)/(chain)/[chain_id]/(chainPage)/components/server/FaucetSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export async function FaucetSection(props: {
1212
}) {
1313
const { chain, twAccount } = props;
1414

15-
// Check eligibilty.
15+
// Check eligibility.
1616
const sanitizedChainName = chain.name.replace("Mainnet", "").trim();
1717
const amountToGive = getFaucetClaimAmount(props.chain.chainId);
1818

0 commit comments

Comments
 (0)