Skip to content

Commit

Permalink
Remove unused console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
sashachabin committed Dec 10, 2023
1 parent 7c165e8 commit 774a654
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client/components/UI/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ export function Modal({ title = null, children, onClose = () => {} }) {
};

useEffect(() => {
console.log('render');

ref.current.showModal();
// Remove focus after open
(document.activeElement as HTMLElement).blur();
Expand Down

1 comment on commit 774a654

@ekbdev
Copy link

@ekbdev ekbdev commented on 774a654 Dec 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for transport ready!

✅ Preview
https://transport-9ut211za6-ekbdev.vercel.app
https://ekbdev-transport-dialog-close-outside.vercel.app

Built with commit 774a654.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.