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 } from 'react-bootstrap'; function App() { const [search, setSearch] = useState(""); const [state, setState] = useState(false); if (state !== false) { return ; } const handleChange = (e) => { setSearch(e.target.value); } const handleSubmit = (e) => { setState(true); } return (
); } export default App;