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