From 8ff2c80cf1279088a53ee5e6d5cb44120d6d1012 Mon Sep 17 00:00:00 2001 From: WakuwakuP Date: Thu, 7 Nov 2024 03:50:54 +0900 Subject: [PATCH] Update `ContentDetail` component to remove `a` tag from `Link` component * Modify `Link` component to include `className` directly instead of using `a` tag * Update previous and next article links to use the modified `Link` component --- src/components/templates/ContentDetail/ContentDetail.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/templates/ContentDetail/ContentDetail.tsx b/src/components/templates/ContentDetail/ContentDetail.tsx index 26e9128..a5ebe66 100644 --- a/src/components/templates/ContentDetail/ContentDetail.tsx +++ b/src/components/templates/ContentDetail/ContentDetail.tsx @@ -80,13 +80,13 @@ export const ContentDetail = ({ content, toc, nextArticle, previousArticle }: Co
{previousArticle && ( - - Previous: {previousArticle.title} + + Previous: {previousArticle.title} )} {nextArticle && ( - - Next: {nextArticle.title} + + Next: {nextArticle.title} )}