fix: set iframe ref
This commit is contained in:
parent
0f249cc28d
commit
4544e80eb1
|
@ -206,6 +206,7 @@ export function Browser() {
|
|||
|
||||
return (
|
||||
<iframe
|
||||
ref={iframeRef}
|
||||
onLoad={handleIframeLoad}
|
||||
src={url ? `/browse/${url}` : "about:blank"}
|
||||
className="w-full h-full"
|
||||
|
|
Loading…
Reference in New Issue