From 134dae05d9897d99526cdc8fa5ef63ea54d77b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Brzezin=CC=81ski?= Date: Tue, 20 Dec 2022 01:45:04 +0100 Subject: [PATCH] fixes --- components/settings/DisplaySettings.tsx | 14 -------------- utils/constants.ts | 1 - 2 files changed, 15 deletions(-) diff --git a/components/settings/DisplaySettings.tsx b/components/settings/DisplaySettings.tsx index 34c5ac5d..b157a79f 100644 --- a/components/settings/DisplaySettings.tsx +++ b/components/settings/DisplaySettings.tsx @@ -62,20 +62,6 @@ const DisplaySettings = () => { TRADE_CHART_UI_KEY, 'Original' ) - const themes = useMemo(() => { - return [ - t('settings:light'), - t('settings:medium'), - t('settings:dark'), - t('settings:high-contrast'), - t('settings:mango-classic'), - t('settings:avocado'), - t('settings:banana'), - t('settings:blueberry'), - t('settings:lychee'), - t('settings:olive'), - ] - }, [t]) // const handleLangChange = useCallback( // (l: string) => { diff --git a/utils/constants.ts b/utils/constants.ts index 2690756f..97c18e2f 100644 --- a/utils/constants.ts +++ b/utils/constants.ts @@ -33,7 +33,6 @@ export const GRID_LAYOUT_KEY = 'savedLayouts-0.2' export const NOTIFICATION_POSITION_KEY = 'notificationPosition-0.1' -export const SIZE_INPUT_UI_KEY = 'tradeFormUi' export const TRADE_CHART_UI_KEY = 'tradeChart' export const FAVORITE_MARKETS_KEY = 'favoriteMarkets-0.2'