Skip to content

Commit

Permalink
chore: msw 사용을 위한 코드 주석처리
Browse files Browse the repository at this point in the history
  • Loading branch information
soi-ha committed Aug 8, 2024
1 parent eb47c86 commit 5d959cc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions client/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ async function enableMocking() {
return worker.start();
}

enableMocking().then(() => {
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<RouterProvider router={router} />
</React.StrictMode>,
);
});
// MSW 모킹을 사용하려면 아래 주석을 해제하고 save해주세요.
// enableMocking().then(() => {
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<RouterProvider router={router} />
</React.StrictMode>,
);
// });

0 comments on commit 5d959cc

Please sign in to comment.