diff --git a/src/views/BlogPage/components/BlogPost/DefaultProfileImage/index.tsx b/src/views/BlogPage/components/BlogPost/DefaultProfileImage/index.tsx index fa11ddee..a1719617 100644 --- a/src/views/BlogPage/components/BlogPost/DefaultProfileImage/index.tsx +++ b/src/views/BlogPage/components/BlogPost/DefaultProfileImage/index.tsx @@ -2,12 +2,10 @@ import Image from 'next/image'; import icProfileDefault from '@src/assets/icons/ic_profile_default.svg'; import * as S from './style'; -function DefaultProfileImage() { +export default function DefaultProfileImage() { return ( 작성자 프로필 이미지 ); } - -export default DefaultProfileImage; diff --git a/src/views/BlogPage/components/BlogPost/Header/index.tsx b/src/views/BlogPage/components/BlogPost/Header/index.tsx index 75c394f9..84ca29e1 100644 --- a/src/views/BlogPage/components/BlogPost/Header/index.tsx +++ b/src/views/BlogPage/components/BlogPost/Header/index.tsx @@ -8,7 +8,7 @@ interface HeaderProps { blogPost: BlogPostType; } -function Header({ selectedTap, blogPost }: HeaderProps) { +export default function Header({ selectedTap, blogPost }: HeaderProps) { return ( {selectedTap === 'ARTICLE' ? ( @@ -35,5 +35,3 @@ function Header({ selectedTap, blogPost }: HeaderProps) { ); } - -export default Header; diff --git a/src/views/BlogPage/components/BlogPost/Like/index.tsx b/src/views/BlogPage/components/BlogPost/Like/index.tsx index f482d866..92b766a4 100644 --- a/src/views/BlogPage/components/BlogPost/Like/index.tsx +++ b/src/views/BlogPage/components/BlogPost/Like/index.tsx @@ -8,7 +8,7 @@ interface LikeProps { blogPost: BlogPostType; } -function Like({ blogPost }: LikeProps) { +export default function Like({ blogPost }: LikeProps) { return ( ); } - -export default Like; diff --git a/src/views/BlogPage/components/BlogPostList/index.tsx b/src/views/BlogPage/components/BlogPostList/index.tsx index 8223d146..c73e336e 100644 --- a/src/views/BlogPage/components/BlogPostList/index.tsx +++ b/src/views/BlogPage/components/BlogPostList/index.tsx @@ -7,7 +7,7 @@ interface BlogPostListProps { blogPostList: BlogPostListType; } -function BlogPostList({ selectedTap, blogPostList }: BlogPostListProps) { +export default function BlogPostList({ selectedTap, blogPostList }: BlogPostListProps) { return ( {blogPostList.data.map((blogPost) => ( @@ -16,5 +16,3 @@ function BlogPostList({ selectedTap, blogPostList }: BlogPostListProps) { ); } - -export default BlogPostList;