diff --git a/website/src/components/i18n-dialog.tsx b/website/src/components/i18n-dialog.tsx index 93eb3aa46..8538d5785 100644 --- a/website/src/components/i18n-dialog.tsx +++ b/website/src/components/i18n-dialog.tsx @@ -41,13 +41,9 @@ type I18nDialogProps = { }; }; -export function I18nDialog({ - languages, - regions, - currencies, - translations, - children, -}: PropsWithChildren) { +export function I18nDialog( + { languages, regions, currencies, translations, children }: PropsWithChildren, +) { const [open, setOpen] = useState(false); const { language, setLanguage, region, setRegion, currency, setCurrency } = useI18n(); diff --git a/website/src/components/navbar/navbar-client.tsx b/website/src/components/navbar/navbar-client.tsx index 4c1d786e1..51b33f754 100644 --- a/website/src/components/navbar/navbar-client.tsx +++ b/website/src/components/navbar/navbar-client.tsx @@ -61,15 +61,9 @@ type NavbarProps = { }[]; } & DefaultParams; -export function NavbarClient({ - lang, - region, - translations, - languages, - regions, - currencies, - sections = [], -}: NavbarProps) { +export function NavbarClient( + { lang, region, translations, languages, regions, currencies, sections = [] }: NavbarProps, +) { const [isOpen, setIsOpen] = useState(false); const i18nDialog = (