import React, { useState } from 'react';
import { Redirect } from 'react-router-dom';
import ohuh from './ohuh.PNG'
import { Container, Row, Form, Image, InputGroup, Button, Col, 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);
} //submit 버튼을 누르면 state 값을 true로 바뀐다
return (
);
}
export default App;