From 8ab84e2e9833b921519d20719262a5bff66877c8 Mon Sep 17 00:00:00 2001 From: hanghuge <166206050+hanghuge@users.noreply.github.com> Date: Tue, 10 Dec 2024 09:51:22 +0800 Subject: [PATCH] chore: fix some typos in comment (#529) --- apps/deploy-web/src/utils/deploymentData/v1beta3.ts | 2 +- apps/deploy-web/src/utils/sdl/sdlGenerator.ts | 2 +- .../components/transactions/generic/MsgSetWithdrawAddress.tsx | 2 +- packages/ui/components/index.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/deploy-web/src/utils/deploymentData/v1beta3.ts b/apps/deploy-web/src/utils/deploymentData/v1beta3.ts index 24cef1583..ba316f3ae 100644 --- a/apps/deploy-web/src/utils/deploymentData/v1beta3.ts +++ b/apps/deploy-web/src/utils/deploymentData/v1beta3.ts @@ -59,7 +59,7 @@ export function appendTrialAttribute(yamlStr: string) { indent: 2, quotingType: '"', styles: { - "!!null": "empty" // dump null as emtpy value + "!!null": "empty" // dump null as empty value }, replacer: (key, value) => { const isCurrentKeyProviderAttributes = key === "attributes" && Array.isArray(value) && value.some(attr => attr.key === TRIAL_ATTRIBUTE); diff --git a/apps/deploy-web/src/utils/sdl/sdlGenerator.ts b/apps/deploy-web/src/utils/sdl/sdlGenerator.ts index d60e140c3..3393b777b 100644 --- a/apps/deploy-web/src/utils/sdl/sdlGenerator.ts +++ b/apps/deploy-web/src/utils/sdl/sdlGenerator.ts @@ -212,7 +212,7 @@ export const generateSdl = (services: ServiceType[], region?: string) => { indent: 2, quotingType: '"', styles: { - "!!null": "empty" // dump null as emtpy value + "!!null": "empty" // dump null as empty value } }); diff --git a/apps/stats-web/src/components/transactions/generic/MsgSetWithdrawAddress.tsx b/apps/stats-web/src/components/transactions/generic/MsgSetWithdrawAddress.tsx index 17afafd1b..c78686705 100644 --- a/apps/stats-web/src/components/transactions/generic/MsgSetWithdrawAddress.tsx +++ b/apps/stats-web/src/components/transactions/generic/MsgSetWithdrawAddress.tsx @@ -10,7 +10,7 @@ type TxMessageProps = { export const MsgSetWithdrawAddress: React.FunctionComponent = ({ message }) => { return ( <> - } /> + } /> } /> ); diff --git a/packages/ui/components/index.tsx b/packages/ui/components/index.tsx index b3d34107b..4ad52a324 100644 --- a/packages/ui/components/index.tsx +++ b/packages/ui/components/index.tsx @@ -33,6 +33,6 @@ export * from "./toggle-group"; export * from "./tooltip"; export * from "./data-table"; export * from "./charts"; -// Folers +// Folders export * from "./spinner"; export * from "./custom";