Skip to content

Commit

Permalink
add fix for empty languages
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchuman committed Feb 25, 2025
1 parent af3c27c commit ceec7ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import type { Language } from '@sanity/document-internationalization'
export const supportedLanguages = [
{ id: 'en', title: 'English' },
// { id: 'fr', title: 'Français' },
{ id: 'ja', title: '日本語' },
] as const satisfies Language[]
// { id: 'ja', title: '日本語' },
] as const as Language[]

export const languages = supportedLanguages.map((lang) => lang?.id)

Expand Down

0 comments on commit ceec7ae

Please sign in to comment.