refactor(ui): centralise themed dialogs

This commit is contained in:
cesnimda
2026-08-28 12:48:38 +02:00
parent 5805c1a621
commit 3b4adb8281
12 changed files with 113 additions and 335 deletions
+4
View File
@@ -60,3 +60,7 @@ export function useI18n() {
if (!ctx) throw new Error("useI18n must be used within I18nProvider");
return ctx;
}
export function useOptionalI18n() {
return useContext(I18nContext);
}