#Received unsupported format `undefined` from `undefined`
15 messages · Page 1 of 1 (latest)
You need to await the import
Dynamic imports like that are async, so right now you're passing a Promise
But I can't do await import directly in the component
"await" can only be used inside an "async" function
yep
Error: Transform failed with 1 error:
ERROR: "await" can only be used inside an "async" function
import works if you use <@&1055234544183287879>/image/components instead of astro:assets
I just want to declare the path to the images in the array and then use map to display the data in the layout