mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 18:03:47 +00:00
useEffect on is open
This commit is contained in:
@@ -74,7 +74,7 @@ export default function SheetsModal(props: SheetsModalProps) {
|
||||
if (state.clientSecret.complet) testAuthentication();
|
||||
if (state.authenticate.complet) testSheetId();
|
||||
}
|
||||
}, []);
|
||||
}, [isOpen]);
|
||||
|
||||
const handleClose = () => {
|
||||
setRundown(null);
|
||||
|
||||
Reference in New Issue
Block a user