fix: minor bugs
This commit is contained in:
parent
d082cf339e
commit
a31d459d88
|
@ -311,7 +311,7 @@ export function Browser() {
|
||||||
ref={iframeRef}
|
ref={iframeRef}
|
||||||
onLoad={handleIframeLoad}
|
onLoad={handleIframeLoad}
|
||||||
src={url ? `/browse/${url}` : "about:blank"}
|
src={url ? `/browse/${url}` : "about:blank"}
|
||||||
className={`${!shouldRenderStartPage ? "hidden": ""} w-full h-full`}
|
className={`${shouldRenderStartPage ? "hidden": ""} w-full h-full`}
|
||||||
></iframe>
|
></iframe>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
@ -61,7 +61,7 @@ const StartPage = ({ setUrl }: Props) => {
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
{inited && ready ? (
|
{inited && !ready && isLoggedIn ? (
|
||||||
<div
|
<div
|
||||||
className="bg-yellow-800/40 rounded-md border border-yellow-500 text-yellow-500 p-4"
|
className="bg-yellow-800/40 rounded-md border border-yellow-500 text-yellow-500 p-4"
|
||||||
role="alert"
|
role="alert"
|
||||||
|
|
Loading…
Reference in New Issue