import React, { useEffect, useState } from 'react'; import { Link, Redirect } from 'react-router-dom'; import ohuh from './ohuh.PNG' import { Container, Row, Form, Image, InputGroup, Button, Col, FormControl, Navbar, Nav } from 'react-bootstrap'; import { handleLogout, isAuthenticated } from './utils/auth.js' function App() { const [state, setState] = useState(false); const [search, setSearch] = useState(""); const user = isAuthenticated() if (state !== false) { return ; } const handleChange = (e) => { setSearch(e.target.value); } const handleSubmit = () => { setState(true); } return ( ); } export default App;