Skip to content

Commit d828d06

Browse files
authored
Merge pull request #237 from CivicDataLab/236-remove-translation-in-mobile-nav
Remove translation from mobile nav
2 parents 29041fd + 6f5d0ec commit d828d06

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

components/mobile-nav.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ import { useKeyDetect } from '@/hooks/use-key-detect';
77
import { MainConfig } from '@/types';
88
import { IconButton, Text } from 'opub-ui';
99

10-
import { getPrefLangCookie } from '@/lib/serverUtils';
1110
import { handleRedirect } from '@/lib/utils';
1211
import { Icons } from '@/components/icons';
13-
import { TranslateDropdown } from './langSelect/lang-select';
1412

1513
export function MobileNav({ data }: { data: MainConfig }) {
1614
const [open, setOpen] = React.useState(false);
@@ -85,7 +83,6 @@ export function MobileNav({ data }: { data: MainConfig }) {
8583
</div>
8684
)}
8785
</div>
88-
<TranslateDropdown prefLangCookie={getPrefLangCookie()} />
8986
</div>
9087
<footer className="flex flex-col flex-wrap items-start gap-1 self-stretch bg-backgroundSolidDark px-5 py-4">
9188
<div className="flex flex-col items-center justify-center gap-4 self-center">

0 commit comments

Comments
 (0)