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