From 21f5ab88253a43308bd837cc1e20d1ec108b274a Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 14 Jan 2023 12:22:15 -0800 Subject: [PATCH] Removed unused and redundant code --- components/PartySegmentedControl/index.tsx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/components/PartySegmentedControl/index.tsx b/components/PartySegmentedControl/index.tsx index b4bdc495..c8ecf9d0 100644 --- a/components/PartySegmentedControl/index.tsx +++ b/components/PartySegmentedControl/index.tsx @@ -20,6 +20,7 @@ interface Props { } const PartySegmentedControl = (props: Props) => { + // Set up translations const { t } = useTranslation('common') const { party, grid } = useSnapshot(appState) @@ -33,22 +34,16 @@ const PartySegmentedControl = (props: Props) => { switch (element) { case 1: return 'wind' - break case 2: return 'fire' - break case 3: return 'water' - break case 4: return 'earth' - break case 5: return 'dark' - break case 6: return 'light' - break } } @@ -72,13 +67,6 @@ const PartySegmentedControl = (props: Props) => { })} > - {/* Class */} -