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 */} -