summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNic Eigel <nic@eigel.ch>2024-01-18 14:50:50 +0100
committerNic Eigel <nic@eigel.ch>2024-01-18 14:50:50 +0100
commitcb860500b5269e6fb18345e8646d906039d36496 (patch)
tree71c88180bebaa290762a4eca38bb2e6afd0565b2
parent011eadd2d37e00a331a668d1efe55940f37ac95f (diff)
downloadwallet-core-cb860500b5269e6fb18345e8646d906039d36496.tar.gz
wallet-core-cb860500b5269e6fb18345e8646d906039d36496.tar.bz2
wallet-core-cb860500b5269e6fb18345e8646d906039d36496.zip
fixed last auditor-error
-rw-r--r--packages/auditor-backoffice-ui/src/paths/settings/index.tsx4
1 files 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<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>