import React, { useEffect, useState } from 'react'; import { Link, Redirect } from 'react-router-dom'; import ohuh from './ohuh.PNG'; import { Container, Row, Col, Image, InputGroup, FormControl, Button } from 'react-bootstrap'; function App() { const [search, setSearch] = useState(""); const [state, setState] = useState(); useEffect(() => { if (state === true) { // } }, []) const handleChange = (e) => { setSearch(e.target.value); console.log(e.target.value) } const handleSubmit = (e) => { setState(true); } return ( {/*
*/}
); } export default App;