Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchuman committed Feb 25, 2025
1 parent d728be5 commit af3c27c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/ui/LanguageSwitcher/Switcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,6 @@ export default function Switcher({
redirect(e.target.value)
}}
>
{/* {available.translations?.map(({ slug, language }) => (
<option
value={language === DEFAULT_LANG ? available.slug : slug}
data-lang={language}
key={language}
>
{supportedLanguages.find((l) => l.id === language)?.title}
</option>
))} */}

{supportedLanguages.map((s) => {
const { slug, language } =
available.translations?.find((t) => t.language === s.id) ?? {}
Expand Down

0 comments on commit af3c27c

Please sign in to comment.