Skip to content

Commit

Permalink
fix: remove console.log in Modal component (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmikolay authored Nov 18, 2024
1 parent c958c96 commit edfaa7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wet-scissors-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@telegraph/modal": patch
---

Remove console.log in Modal component
1 change: 0 additions & 1 deletion packages/modal/src/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const Root = ({

React.useEffect(() => {
if (!open && stacking.layers.includes(id)) {
console.log("HERE REMOVE", id, open);
stacking.removeLayer(id);
}
}, [id, stacking, open]);
Expand Down

0 comments on commit edfaa7d

Please sign in to comment.