App.js 263 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 import './App.css'; import Login from "./Login"; import Body from "./Body"; function App() { let accessToken = null; return ( <div className="app"> {!accessToken && <Login />} {accessToken && <Body />} </div> ); } export default App;