Fixed props.

Co-authored-by: Marks Polakovs <github@markspolakovs.me>
This commit is contained in:
Matthew Stratford 2020-10-26 22:04:45 +00:00 committed by GitHub
parent 6a503bbf59
commit 9ede742a23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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