commit cb860500b5269e6fb18345e8646d906039d36496
parent 011eadd2d37e00a331a668d1efe55940f37ac95f
Author: Nic Eigel <nic@eigel.ch>
Date: Thu, 18 Jan 2024 14:50:50 +0100
fixed last auditor-error
Diffstat:
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
@@ -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<Settings> = {
@@ -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))
}}
>
<i18n.Translate>Set default</i18n.Translate>