diff --git a/tauri-wallet/src/hooks/useGetBalance.tsx b/tauri-wallet/src/hooks/useGetBalance.tsx index 013e9bd550..5d69944640 100644 --- a/tauri-wallet/src/hooks/useGetBalance.tsx +++ b/tauri-wallet/src/hooks/useGetBalance.tsx @@ -11,17 +11,17 @@ export type TUseGetBalance = { export const useGetBalance = (): TUseGetBalance => { const [balance, setBalance] = useState() - const [error, setErorr] = useState() + const [error, setError] = useState() const [isLoading, setIsLoading] = useState(false) const fetchBalance = () => { setIsLoading(true) - setErorr(undefined) + setError(undefined) invoke('get_balance') .then((balance) => { setBalance(balance as Balance) }) - .catch((e) => setErorr(e)) + .catch((e) => setError(e)) setTimeout(() => { setIsLoading(false) }, 1000) diff --git a/tauri-wallet/src/routes/sign-in.tsx b/tauri-wallet/src/routes/sign-in.tsx index 52b2c011fe..6ef052ef41 100644 --- a/tauri-wallet/src/routes/sign-in.tsx +++ b/tauri-wallet/src/routes/sign-in.tsx @@ -73,7 +73,7 @@ const SignInContent = ({ }: { showCreateAccount: () => void }) => { - const [mnemonic, setMnemonic] = useState('menmonic phrase') + const [mnemonic, setMnemonic] = useState('') const [inputError, setInputError] = useState() const [isLoading, setIsLoading] = useState(false)