registration

This commit is contained in:
Mikola
2023-11-05 20:42:03 +03:00
parent 321b84a80e
commit 59fde487ea
6 changed files with 29 additions and 15 deletions

View File

@ -33,8 +33,8 @@ export const ModalRegistration = ({ active, setActive }) => {
userName: "",
email: "",
password: "",
})
}
});
};
const { showNotification } = useNotification();
const submitHandler = () => {
@ -47,7 +47,7 @@ export const ModalRegistration = ({ active, setActive }) => {
},
}).then(() => {
setActive(false);
resetInputsValue()
resetInputsValue();
showNotification({
show: true,
text: "Аккаунт успешно создан",