This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import LoginPage from "./components/LoginPage/LoginPage"; | |
import RegisterPage from "./components/RegisterPage/RegisterPage"; | |
import LandingPage from "./components/LandingPage/LandingPage"; | |
import { | |
BrowserRouter as Router, | |
Route, | |
Switch, | |
Redirect, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from "react"; | |
import "./LoginPage.scss"; | |
import { Form, Input, Button, Card, Checkbox, Image } from "semantic-ui-react"; | |
import logo from "../../assets/image/logo.png"; | |
import * as Yup from "yup"; | |
import { Formik } from "formik"; | |
import { useLocation } from "react-router-dom"; | |
import { useDispatch, useSelector } from "react-redux"; | |
import { signIn } from "../../redux/actions/auth"; |