Skip to content

Commit 03a4167

Browse files
committed
feat: remove older components
1 parent 712a586 commit 03a4167

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pages/blog/[slug].astro

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ import {
77
BreadcrumbSeparator,
88
} from "@/components/ui/breadcrumb";
99
import BlogLayout from "@/layouts/BlogLayout.astro";
10-
import CodeGroupWrapper from "@/plugins/code-group/CodeGroupWrapper.astro";
1110
import { getCollection, render, type CollectionEntry } from "astro:content";
1211
import { NewspaperIcon } from "lucide-react";
1312
import { DateTime } from "luxon";
1413
import config from "../../../explainer.config";
15-
import ReadMoreWrapper from "../../lib/plugins/read-more/ReadMoreWrapper.astro";
1614
import BlogListWrapper from "../../lib/plugins/blog-list/BlogListWrapper.astro";
1715
interface Props {
1816
element: CollectionEntry<"blog">;
@@ -178,7 +176,7 @@ const headingTree = buildHeadingTree(availableHeadings);
178176
<div class="w-full max-w-4xl">
179177
<div class="prose">
180178
<Content
181-
components={{ CodeGroupWrapper, ReadMoreWrapper, BlogListWrapper }}
179+
components={{ ...config.content.components, BlogListWrapper }}
182180
/>
183181
</div>
184182

0 commit comments

Comments
 (0)