From d682f11a8886adf7bfe3a9a3638ff7a9521ff941 Mon Sep 17 00:00:00 2001 From: aulianza Date: Sun, 12 Nov 2023 20:56:42 +0700 Subject: [PATCH] fix: format excerpt seo --- src/pages/blog/[slug].tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/blog/[slug].tsx b/src/pages/blog/[slug].tsx index a38dfcad..918cb354 100644 --- a/src/pages/blog/[slug].tsx +++ b/src/pages/blog/[slug].tsx @@ -6,6 +6,7 @@ import { useEffect } from 'react'; import BackButton from '@/common/components/elements/BackButton'; import Container from '@/common/components/elements/Container'; +import { formatExcerpt } from '@/common/helpers'; import { BlogDetailProps } from '@/common/types/blog'; import BlogDetail from '@/modules/blog/components/BlogDetail'; import { getBlogDetail } from '@/services/blog'; @@ -41,7 +42,7 @@ const BlogDetailPage: NextPage = ({ blog }) => { <>