From 69ecec2161afb91cdb336cc66ed8c5d552de00be Mon Sep 17 00:00:00 2001 From: "Theodor S. Midtlien" Date: Fri, 16 Oct 2026 18:39:47 +0200 Subject: [PATCH] Fix ui merge bug --- client/ui/frontend/src/components/LanguagePicker.tsx | 2 +- client/ui/frontend/src/modules/profiles/ProfileDropdown.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/ui/frontend/src/components/LanguagePicker.tsx b/client/ui/frontend/src/components/LanguagePicker.tsx index cfd2d2d57..e7ed700f7 100644 --- a/client/ui/frontend/src/components/LanguagePicker.tsx +++ b/client/ui/frontend/src/components/LanguagePicker.tsx @@ -11,7 +11,7 @@ import { Label } from "@/components/typography/Label"; import { useFocusVisible } from "@/hooks/useFocusVisible"; import { loadLanguages } from "@/lib/i18n"; import { cn } from "@/lib/cn"; -import { errorDialog, formatErrorMessage } from "@/lib/errors"; +import { errorDialogFor } from "@/lib/errors"; import { useDirection } from "@/hooks/useDirection"; // No flag icons: flags represent countries, not languages. https://www.flagsarenotlanguages.com/blog/ diff --git a/client/ui/frontend/src/modules/profiles/ProfileDropdown.tsx b/client/ui/frontend/src/modules/profiles/ProfileDropdown.tsx index 29cf20ca0..bd0f1e07c 100644 --- a/client/ui/frontend/src/modules/profiles/ProfileDropdown.tsx +++ b/client/ui/frontend/src/modules/profiles/ProfileDropdown.tsx @@ -10,7 +10,7 @@ import { Tooltip } from "@/components/Tooltip"; import { useProfile } from "@/contexts/ProfileContext"; import { useFocusVisible } from "@/hooks/useFocusVisible"; import { cn } from "@/lib/cn"; -import { errorDialog, formatErrorMessage } from "@/lib/errors"; +import { errorDialogFor } from "@/lib/errors"; import { useDirection } from "@/hooks/useDirection"; type ProfileDropdownProps = {