fix: minor bugs

This commit is contained in:
Juan Di Toro 2023-11-03 19:17:30 +01:00
parent d082cf339e
commit a31d459d88
2 changed files with 2 additions and 2 deletions

View File

@ -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>
</>
);

View File

@ -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"