1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 05:16:41 +07:00

fixed toasts

This commit is contained in:
Fedor Katurov 2022-01-09 20:52:02 +07:00
parent 6711985d99
commit 8f0ed34790
3 changed files with 9 additions and 2 deletions

View file

@ -24,7 +24,6 @@ export const useLoginForm = (
try {
await fetcher(values.username, values.password);
onSuccess();
showToastSuccess(getRandomPhrase('WELCOME'));
} catch (error) {
showErrorToast(error);