Artem преди 3 години
родител
ревизия
20c9ee6b25
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/routes/auth/index.jsx

+ 3 - 3
src/routes/auth/index.jsx

@@ -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