Skip to content

Commit 0298ee0

Browse files
committed
Fix type error
1 parent 3b2135c commit 0298ee0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/layouts/EventLayout.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface Props {
1515
}
1616
1717
const { entry, title } = Astro.props;
18-
const { Content, components } = await entry.render();
18+
const { Content } = await entry.render();
1919
2020
setJumpToState(null);
2121
@@ -55,7 +55,6 @@ const relatedEvents =
5555
<div class="rendered-markdown">
5656
<Content
5757
components={{
58-
...components,
5958
img: FreeRatioImage,
6059
}}
6160
/>

0 commit comments

Comments
 (0)