|
@@ -1,9 +1,9 @@
|
|
|
-import { useEffect, useState } from 'react';
|
|
|
+import { useEffect } from 'react';
|
|
|
import hookForm from 'hook-easy-form';
|
|
|
import { useHistory } from 'react-router-dom';
|
|
|
import { useDispatch, useSelector } from 'react-redux';
|
|
|
|
|
|
-import { runAuth, runRegister } from 'store/auth/actions';
|
|
|
+import { runAuth } from 'store/auth/actions';
|
|
|
import Input from 'components/inputs/text-input/text-input';
|
|
|
|
|
|
import classes from './auth.module.scss';
|
|
@@ -57,7 +57,7 @@ const Auth = () => {
|
|
|
|
|
|
return (
|
|
|
<div className={classes.container}>
|
|
|
- <form action="/adfsgfb" className={classes.form}>
|
|
|
+ <form action={submit} className={classes.form}>
|
|
|
{formArray.map(el => (
|
|
|
<div className={classes.form} key={el.name}>
|
|
|
<Input
|