Skip to content

Commit

Permalink
feat: OverlayProvider 감싸기
Browse files Browse the repository at this point in the history
  • Loading branch information
cruelladevil committed Apr 23, 2024
1 parent b3749c6 commit 32dd51c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions frontend/src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ import SongDetailListPage from './pages/SongDetailListPage';
import AuthLayout from './shared/components/Layout/AuthLayout';
import Layout from './shared/components/Layout/Layout';
import ROUTE_PATH from './shared/constants/path';
import { OverlayProvider } from './shared/hooks/useOverlay';

const router = createBrowserRouter([
{
path: ROUTE_PATH.ROOT,
element: (
<LoginPopupProvider>
<Layout />
</LoginPopupProvider>
<OverlayProvider>
<LoginPopupProvider>
<Layout />
</LoginPopupProvider>
</OverlayProvider>
),
children: [
{
Expand Down

0 comments on commit 32dd51c

Please sign in to comment.