From 5fd230b86dd79aa10df198e6cca4ee750795aa2d Mon Sep 17 00:00:00 2001 From: Andreas Schaafsma Date: Thu, 8 Jun 2023 00:27:24 +0200 Subject: [PATCH] added params to article previews --- src/components/news/article-preview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/news/article-preview.tsx b/src/components/news/article-preview.tsx index cf22ff5..1afe859 100644 --- a/src/components/news/article-preview.tsx +++ b/src/components/news/article-preview.tsx @@ -6,7 +6,7 @@ import { ReactNode } from "react" import { Style } from "util"; -export default function ArticlePreview(){ +export default function ArticlePreview(params: { id: String, title: String, content: String, date?:String } ){ return