Skip to content

Commit

Permalink
chore: fix some typos (#968)
Browse files Browse the repository at this point in the history
Signed-off-by: cuiweiyuan <[email protected]>
Co-authored-by: Greg Nazario <[email protected]>
  • Loading branch information
cuiweiyuan and gregnazario authored Jan 7, 2025
1 parent a569ccd commit 1f3a6eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {useLogEventWithBasic} from "../Account/hooks/useLogEventWithBasic";
type TransactionSucceededDialogProps = {
handleDialogClose: () => void;
isDialogOpen: boolean;
amount: string; // could be staked, unlocked, reactivated or withdrawn amonut
amount: string; // could be staked, unlocked, reactivated or withdrawn amount
transactionHash: string;
stakeOperation: StakeOperation;
};
Expand Down
2 changes: 1 addition & 1 deletion src/pages/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export function isValidStruct(maybeStruct: string): boolean {
}

export function is32ByteHex(text: string) {
// If it's 32 byte hex, it must be 64 charcters with or without a 0x in front
// If it's 32 byte hex, it must be 64 characters with or without a 0x in front
return /^(0[xX])?[a-fA-F0-9]{64}$/.test(text);
}

Expand Down

0 comments on commit 1f3a6eb

Please sign in to comment.