Skip to content

Commit

Permalink
불필요한 조건문 삭제했다
Browse files Browse the repository at this point in the history
  • Loading branch information
healtheloper committed Nov 13, 2023
1 parent 239952e commit 29092c4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/co-design-core/src/components/Drawer/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,12 @@ export const CoDrawer = ({

return (
<GroupedTransition
onExit={() => {
if (onExit) onExit();
}}
onExit={onExit}
onExited={() => {
lockScroll(false);
if (onExited) onExited();
}}
onEnter={() => {
if (onEnter) onEnter();
}}
onEnter={onEnter}
onEntered={() => {
lockScroll(!noScrollLock && true);
if (onEntered) onEntered();
Expand Down

0 comments on commit 29092c4

Please sign in to comment.