From cb860500b5269e6fb18345e8646d906039d36496 Mon Sep 17 00:00:00 2001 From: Nic Eigel Date: Thu, 18 Jan 2024 14:50:50 +0100 Subject: fixed last auditor-error --- packages/auditor-backoffice-ui/src/paths/settings/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/auditor-backoffice-ui/src/paths/settings/index.tsx b/packages/auditor-backoffice-ui/src/paths/settings/index.tsx index 87bd2fa39..093c3d09d 100644 --- a/packages/auditor-backoffice-ui/src/paths/settings/index.tsx +++ b/packages/auditor-backoffice-ui/src/paths/settings/index.tsx @@ -16,7 +16,7 @@ function getBrowserLang(): string | undefined { export function Settings({ onClose }: { onClose?: () => void }): VNode { const { i18n } = useTranslationContext() const borwserLang = getBrowserLang() - const { update } = useLang() + //const { update } = useLang() const [value, updateValue] = useSettings() const errors: FormErrors = { @@ -60,7 +60,7 @@ export function Settings({ onClose }: { onClose?: () => void }): VNode { data-tooltip={i18n.str`generate random secret key`} class="button is-info mr-2" onClick={(e) => { - update(borwserLang.substring(0, 2)) + //update(borwserLang.substring(0, 2)) }} > Set default -- cgit v1.2.3