mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 11:55:01 +03:00
Hid auth iframe
This commit is contained in:
parent
870639db94
commit
45172d875a
@ -14,8 +14,12 @@ function AuthFrame({adminUrl, onLoad}) {
|
||||
onLoad();
|
||||
}, []);
|
||||
|
||||
const iframeStyle = {
|
||||
display: 'none'
|
||||
};
|
||||
|
||||
return (
|
||||
<iframe data-frame="admin-auth" src={adminUrl + 'auth-frame'}></iframe>
|
||||
<iframe data-frame="admin-auth" src={adminUrl + 'auth-frame'} style={iframeStyle}></iframe>
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user