From a31d459d8899cbdcf58e8a541bca10664c410ed8 Mon Sep 17 00:00:00 2001 From: Juan Di Toro Date: Fri, 3 Nov 2023 19:17:30 +0100 Subject: [PATCH] fix: minor bugs --- src/components/Browser.tsx | 2 +- src/components/StartPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Browser.tsx b/src/components/Browser.tsx index a962a23..416c16c 100644 --- a/src/components/Browser.tsx +++ b/src/components/Browser.tsx @@ -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`} > ); diff --git a/src/components/StartPage.tsx b/src/components/StartPage.tsx index f96969f..8556712 100644 --- a/src/components/StartPage.tsx +++ b/src/components/StartPage.tsx @@ -61,7 +61,7 @@ const StartPage = ({ setUrl }: Props) => { ) : null} - {inited && ready ? ( + {inited && !ready && isLoggedIn ? (