I tried.
This commit is contained in:
parent
fb5b17aab4
commit
6a503bbf59
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ export function ImporterModal(props: ImporterProps) {
|
|||
return () => {
|
||||
window.removeEventListener("message", reloadListener);
|
||||
};
|
||||
});
|
||||
}, [props]);
|
||||
return (
|
||||
<Modal isOpen={props.isOpen} onRequestClose={props.close}>
|
||||
<div>
|
||||
|
|
|
@ -388,7 +388,7 @@ const Showplanner: React.FC<{ timeslotId: number }> = function({ timeslotId }) {
|
|||
return () => {
|
||||
window.removeEventListener("message", reloadListener);
|
||||
};
|
||||
});
|
||||
}, [dispatch, session.currentTimeslot]);
|
||||
|
||||
if (showplan === null) {
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue