Error with <s-image/> in customer accounts announcement target

When using

<s-image />

Inside customer-account.order-index.announcement.render target, I get this error:

index.DK8oKcVd.js:34 Component s-image is not allowed to be rendered within customer-account.order-index.announcement.render

This would be used to render small svg icons and tiny images, is this expected or something that we can resolve ?

Thanks!

Maybe try this?

Otherwise, as it states, it just isn’t supported in that target.

Thanks for the suggestion @Luke !

We wanted to have some fine-tuned control over the sizing.

I was wondering mostly if Shopify intended to exclude this component from being used in that target or if it’s a misconfiguration from their end :thinking: