Skip to content

Commit

Permalink
[FIX] 일부 파일 탭 간격 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jh2ee committed Jul 20, 2023
1 parent 6557148 commit 039b3b0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
30 changes: 15 additions & 15 deletions job1/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ import Login from "./View/Login";
import MyPage from "./View/MyPage";

function App() {
return (
<div className="App">
<Router>
<NavBar/>
<Routes>
<Route path='/' element={<Home/>} />
<Route path='/law' element={<Laws/>} />
<Route path='/board' element={<Board/>} />
<Route path='/news' element={<News/>} />
<Route path='/login' element={<Login/>} />
<Route path='/mypage' element={<MyPage/>} />
</Routes>
</Router>
</div>
);
return (
<div className="App">
<Router>
<NavBar/>
<Routes>
<Route path='/' element={<Home/>} />
<Route path='/law' element={<Laws/>} />
<Route path='/board' element={<Board/>} />
<Route path='/news' element={<News/>} />
<Route path='/login' element={<Login/>} />
<Route path='/mypage' element={<MyPage/>} />
</Routes>
</Router>
</div>
);
}

export default App;
6 changes: 3 additions & 3 deletions job1/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import App from './App';

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
<React.StrictMode>
<App />
</React.StrictMode>
);

0 comments on commit 039b3b0

Please sign in to comment.