Skip to content

Commit 4f9244e

Browse files
committed
chore: 좌측 메뉴가 열릴 시 backdrop이 보이도록 수정
1 parent eacc034 commit 4f9244e

File tree

1 file changed

+2
-0
lines changed
  • apps/pyconkr-admin/src/components/layouts

1 file changed

+2
-0
lines changed

apps/pyconkr-admin/src/components/layouts/global.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { ChevronLeft, Menu } from "@mui/icons-material";
22
import {
3+
Backdrop,
34
Box,
45
CssBaseline,
56
Divider,
@@ -163,6 +164,7 @@ export const Layout: React.FC<{ routes: RouteDef[] }> = ({ routes }) => {
163164
<Outlet />
164165
</PageInnerContainer>
165166
</PageOuterContainer>
167+
<Backdrop open={state.showDrawer} onClick={toggleDrawer} />
166168
</Box>
167169
</Box>
168170
);

0 commit comments

Comments
 (0)