Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdef1cafe committed Jul 20, 2022
1 parent fbc6036 commit 8e6d4bf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Modals/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const entries = [
SettingsRoutes.Index,
SettingsRoutes.Languages,
SettingsRoutes.FiatCurrencies,
SettingsRoutes.CurrenyFormat,
SettingsRoutes.CurrencyFormat,
]

const Settings = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modals/Settings/SettingsCommon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<CurrencyFormats, string> = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modals/Settings/SettingsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const SettingsList = ({ appHistory, ...routeProps }: SettingsListProps) =
<Divider my={1} />
<SettingsListItem
label='modals.settings.currencyFormat'
onClick={() => routeProps.history.push(SettingsRoutes.CurrenyFormat)}
onClick={() => routeProps.history.push(SettingsRoutes.CurrencyFormat)}
icon={<Icon as={FaDollarSign} color='gray.500' />}
>
<Flex alignItems='center'>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Modals/Settings/SettingsRouter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const SettingsRouter = ({ appHistory }: { appHistory: RouteComponentProps
/>
<Route path={SettingsRoutes.Languages} component={() => <Languages />} />
<Route path={SettingsRoutes.FiatCurrencies} component={() => <FiatCurrencies />} />
<Route path={SettingsRoutes.CurrenyFormat} component={() => <CurrencyFormat />} />
<Route path={SettingsRoutes.CurrencyFormat} component={() => <CurrencyFormat />} />
</Switch>
</AnimatePresence>
)
Expand Down

0 comments on commit 8e6d4bf

Please sign in to comment.