import React, { useState, useEffect, useRef } from 'react'; import Nav1 from '../Components/MainNav'; import Nav2 from '../Components/SubNav'; import { Form, Col, Container, Button, Row } from 'react-bootstrap' import { Link , Redirect} from 'react-router-dom' function Login() { return (