We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d67a10 commit 55cec29Copy full SHA for 55cec29
1 file changed
src/components/ui/picture.astro
@@ -24,12 +24,13 @@ delete Astro.props.class;
24
delete Astro.props.format;
25
---
26
27
-<!-- Formatting needs to be maintained for the integration to work properly. --><!-- prettier-ignore -->
+{/* Formatting needs to be maintained for the integration to work properly. */}
28
+<!-- prettier-ignore -->
29
<picture class={pictureClass}>
- <!--
30
+ {/*
31
For some reason TypeScript sees a type error in the 'class' property when
32
there should be none.
- -->
33
+ */}
34
<!-- @ts-expect-error -->
35
<img optimize-image class={imgClass} decoding="async" loading="lazy" {...Astro.props} />
36
</picture>
0 commit comments