Artem 3 éve
szülő
commit
20c9ee6b25
1 módosított fájl, 3 hozzáadás és 3 törlés
  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