We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9569b27 commit 8b5e085Copy full SHA for 8b5e085
src/components/SocialMediaCard.astro
@@ -1,10 +1,9 @@
1
---
2
-import { getCollection, getEntries, type CollectionEntry } from "astro:content";
3
-import { Image } from "astro:assets";
+import { getEntries, type CollectionEntry } from "astro:content";
4
5
const { entry } = Astro.props;
6
7
-const sessions = await getEntries(entry.data.submissions);
+const sessions: CollectionEntry<"sessions">[]= await getEntries(entry.data.submissions);
8
9
<svg width="900" height="900" class="h-full w-full -z-10">
10
<image href="http://localhost:4321/social/bg.png" width="900" height="900" />
0 commit comments