mirror of https://github.com/kortix-ai/suna.git
Merge pull request #534 from escapade-mckv/browser-state-fix
chore(dev): browser state fix
This commit is contained in:
commit
92e8b1c095
|
@ -189,7 +189,7 @@ export function BrowserToolView({
|
||||||
{imageLoading && (
|
{imageLoading && (
|
||||||
<ImageLoader />
|
<ImageLoader />
|
||||||
)}
|
)}
|
||||||
<Card className={`p-0 overflow-hidden shadow-lg border ${imageLoading ? 'hidden' : 'block'}`}>
|
<Card className={`p-0 overflow-hidden border ${imageLoading ? 'hidden' : 'block'}`}>
|
||||||
<img
|
<img
|
||||||
src={screenshotUrl}
|
src={screenshotUrl}
|
||||||
alt="Browser Screenshot"
|
alt="Browser Screenshot"
|
||||||
|
@ -214,7 +214,7 @@ export function BrowserToolView({
|
||||||
{imageLoading && (
|
{imageLoading && (
|
||||||
<ImageLoader />
|
<ImageLoader />
|
||||||
)}
|
)}
|
||||||
<Card className={`overflow-hidden shadow-lg border ${imageLoading ? 'hidden' : 'block'}`}>
|
<Card className={`overflow-hidden border ${imageLoading ? 'hidden' : 'block'}`}>
|
||||||
<img
|
<img
|
||||||
src={`data:image/jpeg;base64,${screenshotBase64}`}
|
src={`data:image/jpeg;base64,${screenshotBase64}`}
|
||||||
alt="Browser Screenshot"
|
alt="Browser Screenshot"
|
||||||
|
|
Loading…
Reference in New Issue