Fleet UI: Modal flash unreleased bug fix (#11770)

This commit is contained in:
RachelElysia
2023-05-18 11:52:12 -04:00
committed by GitHub
parent 8e532a5e76
commit 4b02d5aec0
+1 -1
View File
@@ -38,7 +38,7 @@ const Modal = ({
return () => {
document.removeEventListener("keydown", closeWithEscapeKey);
};
}, [hideFlash, onExit]);
}, []);
useEffect(() => {
if (onEnter) {