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:
parent
6711985d99
commit
8f0ed34790
3 changed files with 9 additions and 2 deletions
|
@ -24,7 +24,6 @@ export const useLoginForm = (
|
|||
try {
|
||||
await fetcher(values.username, values.password);
|
||||
onSuccess();
|
||||
showToastSuccess(getRandomPhrase('WELCOME'));
|
||||
} catch (error) {
|
||||
showErrorToast(error);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue