Skip to content

Commit

Permalink
Merge pull request #114 from KakaoTech-BootCamp-Team-2/dev
Browse files Browse the repository at this point in the history
🚀 Deploy
  • Loading branch information
sayyyho authored Sep 10, 2024
2 parents 9b15ad5 + 26bb405 commit e464936
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
Link,
useLocation,
} from "react-router-dom";
import { QueryClient, QueryClientProvider } from 'react-query';
import { QueryClient, QueryClientProvider } from "react-query";
import HomeMain from "./pages/homepages/HomeMain";
import { PeopleListPage } from "./pages/PeopleListPage/PeopleListPage.jsx";
import { PeopleDetailPage } from "./pages/PeopleDetailPage/PeopleDetailPage.jsx";
Expand All @@ -18,17 +18,17 @@ const queryClient = new QueryClient();

function App() {
return (
<QueryClientProvider client={queryClient}>
<Router>
<Routes>
<Route path="/" element={<HomeMain />}></Route>
<Route path="/chat" element={<ChatPage />}></Route>
<Route path="/video" element={<RTCPage />}></Route>
<Route path="/list" element={<PeopleListPage />} />
<Route path="/details" element={<PeopleDetailPage />} />
</Routes>
</Router>
</QueryClientProvider>
<QueryClientProvider client={queryClient}>
<Router>
<Routes>
<Route path="/" element={<HomeMain />}></Route>
<Route path="/chat" element={<ChatPage />}></Route>
<Route path="/video/:roomName" element={<RTCPage />}></Route>
<Route path="/list" element={<PeopleListPage />} />
<Route path="/details" element={<PeopleDetailPage />} />
</Routes>
</Router>
</QueryClientProvider>
);
}

Expand Down

0 comments on commit e464936

Please sign in to comment.