You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This works ✅
<enhanced:imgsrc="./image.jpg" />
// This does NOT ❌
{#snippetimgSnip(src: string)}
<enhanced:img {src} />
{/snippet}
{@renderimgSnip("./image.jpg")}
// Neither does this...
<enhanced:imgsrc={"./image.jpg"} />
Reproduction
Please see above.
Logs
The error during pnpm run dev reads:
TypeError: Cannot read properties of undefined (reading 'src')
If this is intentional, it could make sense to produce a better error? It was not apparent to me that the snippet did not work because of the following.
Describe the bug
Reproduction
Please see above.
Logs
The error during
pnpm run dev
reads:System Info
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: