From 8e6d4bfaf28e59e4bb026b238ec3cc2731a29bfb Mon Sep 17 00:00:00 2001 From: 0xdef1cafe <88504456+0xdef1cafe@users.noreply.github.com> Date: Wed, 20 Jul 2022 12:56:37 -0600 Subject: [PATCH] chore: fix typo --- src/components/Modals/Settings/Settings.tsx | 2 +- src/components/Modals/Settings/SettingsCommon.ts | 2 +- src/components/Modals/Settings/SettingsList.tsx | 2 +- src/components/Modals/Settings/SettingsRouter.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Modals/Settings/Settings.tsx b/src/components/Modals/Settings/Settings.tsx index a7a11adf2d8..1644e712097 100644 --- a/src/components/Modals/Settings/Settings.tsx +++ b/src/components/Modals/Settings/Settings.tsx @@ -9,7 +9,7 @@ export const entries = [ SettingsRoutes.Index, SettingsRoutes.Languages, SettingsRoutes.FiatCurrencies, - SettingsRoutes.CurrenyFormat, + SettingsRoutes.CurrencyFormat, ] const Settings = () => { diff --git a/src/components/Modals/Settings/SettingsCommon.ts b/src/components/Modals/Settings/SettingsCommon.ts index fb103de9c80..5b2b3dce094 100644 --- a/src/components/Modals/Settings/SettingsCommon.ts +++ b/src/components/Modals/Settings/SettingsCommon.ts @@ -4,7 +4,7 @@ export enum SettingsRoutes { Index = '/settings/index', Languages = '/settings/languages', FiatCurrencies = '/settings/fiat-currencies', - CurrenyFormat = '/settings/currency-format', + CurrencyFormat = '/settings/currency-format', } export const currnecyFormatsRepresenter: Record = { diff --git a/src/components/Modals/Settings/SettingsList.tsx b/src/components/Modals/Settings/SettingsList.tsx index 916aa76b9ce..20e353b8ce2 100644 --- a/src/components/Modals/Settings/SettingsList.tsx +++ b/src/components/Modals/Settings/SettingsList.tsx @@ -85,7 +85,7 @@ export const SettingsList = ({ appHistory, ...routeProps }: SettingsListProps) = routeProps.history.push(SettingsRoutes.CurrenyFormat)} + onClick={() => routeProps.history.push(SettingsRoutes.CurrencyFormat)} icon={} > diff --git a/src/components/Modals/Settings/SettingsRouter.tsx b/src/components/Modals/Settings/SettingsRouter.tsx index aa3d3825e4a..a311f072f47 100644 --- a/src/components/Modals/Settings/SettingsRouter.tsx +++ b/src/components/Modals/Settings/SettingsRouter.tsx @@ -20,7 +20,7 @@ export const SettingsRouter = ({ appHistory }: { appHistory: RouteComponentProps /> } /> } /> - } /> + } /> )