Skip to content

Commit 66e4714

Browse files
Add uibox to dependencies of useEffect
1 parent 801d437 commit 66e4714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ui/Popup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function ActivePopup(props: PopupProps & { session: Talk.Session }) {
5656
box?.hide();
5757
}
5858

59-
}, [show, mounted])
59+
}, [show, mounted, box])
6060

6161
return <EventListeners target={box} handlers={events} />;
6262
}

0 commit comments

Comments
 (0)