fix: typos (#3399)

Signed-off-by: omahs <[email protected]>
This commit is contained in:
omahs
2024-06-19 10:51:41 -07:00
committed by GitHub
parent ba46653bef
commit 988e10e755
11 changed files with 11 additions and 11 deletions
@@ -212,7 +212,7 @@ function Pagination<TInputData>(paginationProps: PaginationProps<TInputData>) {
for (let i = startPage; i <= endPage; i++) {
pages[i - startPage] = { type: "page", page: i };
}
// if the the second index is bigger than 2 then we need to show the first page and an ellipsis
// if the second index is bigger than 2 then we need to show the first page and an ellipsis
if (pages[1].page > 2) {
pages[0] = { type: "page", page: 0 };
pages[1] = { type: "ellipsis", key: "ellipsis_pre" };
+1 -1
View File
@@ -145,7 +145,7 @@ const ConsoleAppWrapper: React.FC<AppPropsWithLayout> = ({
// legit use-case
// eslint-disable-next-line no-restricted-syntax
useEffect(() => {
// this catches the case where the the hook is called twice on the same page
// this catches the case where the hook is called twice on the same page
if (pageId === prevPageId.current) {
return;
}
+1 -1
View File
@@ -130,7 +130,7 @@ export async function generate(options: GenerateOptions, secretKey: string) {
}),
);
// Store the ABIs in the the SDKs ABI cache files
// Store the ABIs in the SDKs ABI cache files
const packagePath = `${projectPath}/node_modules/@thirdweb-dev/generated-abis/dist`;
if (!fs.existsSync(packagePath)) {
ora(
@@ -288,7 +288,7 @@
*/
"default": {
/**
* Specifies whether the message should be written to the the tool's output log. Note that
* Specifies whether the message should be written to the tool's output log. Note that
* the "addToApiReportFile" property may supersede this option.
*
* Possible values: "error", "warning", "none"
@@ -288,7 +288,7 @@
*/
"default": {
/**
* Specifies whether the message should be written to the the tool's output log. Note that
* Specifies whether the message should be written to the tool's output log. Note that
* the "addToApiReportFile" property may supersede this option.
*
* Possible values: "error", "warning", "none"
@@ -272,7 +272,7 @@
*/
"default": {
/**
* Specifies whether the message should be written to the the tool's output log. Note that
* Specifies whether the message should be written to the tool's output log. Note that
* the "addToApiReportFile" property may supersede this option.
*
* Possible values: "error", "warning", "none"
@@ -272,7 +272,7 @@
*/
"default": {
/**
* Specifies whether the message should be written to the the tool's output log. Note that
* Specifies whether the message should be written to the tool's output log. Note that
* the "addToApiReportFile" property may supersede this option.
*
* Possible values: "error", "warning", "none"
@@ -1,7 +1,7 @@
import { wideModalScreenThreshold } from "../../wallet/ConnectWallet/constants";
/**
* Return true if the current screen size can fit the the wide connect modal
* Return true if the current screen size can fit the wide connect modal
* @internal
*/
export function canFitWideModal(): boolean {
@@ -269,7 +269,7 @@
*/
"default": {
/**
* Specifies whether the message should be written to the the tool's output log. Note that
* Specifies whether the message should be written to the tool's output log. Note that
* the "addToApiReportFile" property may supersede this option.
*
* Possible values: "error", "warning", "none"
@@ -269,7 +269,7 @@
*/
"default": {
/**
* Specifies whether the message should be written to the the tool's output log. Note that
* Specifies whether the message should be written to the tool's output log. Note that
* the "addToApiReportFile" property may supersede this option.
*
* Possible values: "error", "warning", "none"
@@ -1,7 +1,7 @@
import { wideModalScreenThreshold } from "../ui/ConnectWallet/constants.js";
/**
* Return true if the current screen size can fit the the wide connect modal
* Return true if the current screen size can fit the wide connect modal
* @internal
*/
export function canFitWideModal(): boolean {