adaptive autstaffing
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
import React, { useState } from "react";
|
||||
import { Link, useNavigate } from "react-router-dom";
|
||||
|
||||
import { useFormValidation } from "@hooks/useFormValidation";
|
||||
import { useNotification } from "@hooks/useNotification";
|
||||
@ -18,7 +17,6 @@ import "./modalRegistration.scss";
|
||||
export const ModalRegistration = ({ active, setActive }) => {
|
||||
const [loader, setLoader] = useState(false);
|
||||
const [isPartner, setIsPartner] = useState(false);
|
||||
const navigate = useNavigate();
|
||||
|
||||
const fields = {
|
||||
username: "",
|
||||
@ -147,7 +145,6 @@ export const ModalRegistration = ({ active, setActive }) => {
|
||||
onClick={async (e) => {
|
||||
e.preventDefault();
|
||||
await handleSubmit(e);
|
||||
navigate("/welcome-page");
|
||||
}}
|
||||
styles="button-box__submit"
|
||||
>
|
||||
|
Reference in New Issue
Block a user