From 59cadac4303fbcbe71e5a827be8b21bcf75f2316 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 16 Oct 2023 19:45:15 -0400 Subject: [PATCH] fix: fall back to about:blank in the iframe, not the state --- src/components/Browser.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Browser.tsx b/src/components/Browser.tsx index 91b4ce5..058e5e6 100644 --- a/src/components/Browser.tsx +++ b/src/components/Browser.tsx @@ -45,7 +45,7 @@ export function BrowserStateProvider({ }: { children: React.ReactElement; }) { - const [url, setUrl] = useState("about:blank"); + const [url, setUrl] = useState(""); return ( @@ -190,5 +190,10 @@ export function Browser() { boot(status, auth); }, []); - return ; + return ( + + ); }