Skip to content

Commit

Permalink
Fixing the Lint-error
Browse files Browse the repository at this point in the history
It was a tab-spacing on a comment
  • Loading branch information
lawtlee committed Oct 13, 2023
1 parent 2c085cf commit d467c84
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/AlertInbox/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function Popup(props: PopupProps): JSX.Element {
setShow(props.show);
}, [props.show]);

// Close the popup if click outside of popup
// Close the popup if click outside of popup
useEffect(() => {
function handleClickOutside(event: MouseEvent) {
if (
Expand All @@ -46,9 +46,7 @@ function Popup(props: PopupProps): JSX.Element {
}}
className="overlay"
>
<div className="popup"
ref={wrapperRef}
>
<div className="popup" ref={wrapperRef}>
<h2>{props.title}</h2>
<div className="content">{props.children}</div>
<button
Expand Down

0 comments on commit d467c84

Please sign in to comment.