diff --git a/src/utils/hook.ts b/src/utils/hook.ts index bd72fa09c..c1a4b7ae9 100644 --- a/src/utils/hook.ts +++ b/src/utils/hook.ts @@ -56,7 +56,7 @@ export const useTimeoutWithUnmount = (callback: () => void, clearCallback: () => } export const useAddrFormatToggle = () => { - const [isNew, setIsNew] = useState(localStorage.getItem(AppCachedKeys.NewAddrFormat) === 'true') + const [isNew, setIsNew] = useState(localStorage.getItem(AppCachedKeys.NewAddrFormat) !== 'false') return { isNew,