Commit 0254fa6b authored by Kim, Subin's avatar Kim, Subin
Browse files

모바일 화면으로 맞추기

parent d3e4910c
......@@ -9,15 +9,15 @@ import Err from "./pages/ErrorPage";
function App() {
return (
<Router basename={process.env.PUBLIC_URL}>
<div className="mx-auto" style={{ width: "400px" }}>
<Switch>
<div style={{ width: "400px" }}>
<Route path="/" component={Err} />
<Route exact path="/" component={Err} />
<Route path="/home" component={HomePage} />
<Route path="/schedule/edit" component={ScheduleEditPage} />
<Route path="/schedule" component={SchedulePage} />
{/* <PrivateRoute path="/admin" component={AdminPage} role="admin" /> */}
</div>
<PrivateRoute path="/admin" component={AdminPage} role="admin" />
</Switch>
</div>
</Router>
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment