0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Removed onLoad again from useEffect

This commit is contained in:
Simon Backx 2022-07-08 13:03:49 +02:00
parent 54344c218e
commit 250df54a14

View file

@ -12,7 +12,7 @@ import {useEffect} from 'react';
function AuthFrame({adminUrl, onLoad}) {
useEffect(function () {
onLoad();
}, [onLoad]);
}, []);
const iframeStyle = {
display: 'none'