Skip to content

Instantly share code, notes, and snippets.

View harithzamri's full-sized avatar
🎯
Focusing

Harith harithzamri

🎯
Focusing
View GitHub Profile
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,
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";