This commit is contained in:
Matthew Stratford 2020-10-07 00:12:17 +01:00
parent fb5b17aab4
commit 6a503bbf59
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ export function ImporterModal(props: ImporterProps) {
return () => {
window.removeEventListener("message", reloadListener);
};
});
}, [props]);
return (
<Modal isOpen={props.isOpen} onRequestClose={props.close}>
<div>

View file

@ -388,7 +388,7 @@ const Showplanner: React.FC<{ timeslotId: number }> = function({ timeslotId }) {
return () => {
window.removeEventListener("message", reloadListener);
};
});
}, [dispatch, session.currentTimeslot]);
if (showplan === null) {
return (