fix: set iframe ref

This commit is contained in:
Derrick Hammer 2023-10-16 21:40:49 -04:00
parent 0f249cc28d
commit 4544e80eb1
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -206,6 +206,7 @@ export function Browser() {
return (
<iframe
ref={iframeRef}
onLoad={handleIframeLoad}
src={url ? `/browse/${url}` : "about:blank"}
className="w-full h-full"