Artem 3 vuotta sitten
vanhempi
commit
20c9ee6b25
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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