main: fix

This commit is contained in:
alex 2023-11-28 18:12:46 +00:00
parent c5aa92af3b
commit 131b6dd58c
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ const LiveImageAsset = track(function LiveImageAsset({ shape }: { shape: LiveIma
const asset = editor.getAsset(assetId)
return (
asset &&
asset.props.src(
asset.props.src && (
<img
src={asset.props.src!}
alt={shape.props.name}