From ec63b7038059c0f2e6ed7eb8c5e6603a5be8bacb Mon Sep 17 00:00:00 2001
From: solar3070 <>
Date: Mon, 23 Oct 2023 00:27:15 +0900
Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B8=B0=EB=B3=B8=20=EB=82=B4=EB=B3=B4?=
=?UTF-8?q?=EB=82=B4=EA=B8=B0=20=EC=BD=94=EB=93=9C=20=EC=BB=A8=EB=B2=A4?=
=?UTF-8?q?=EC=85=98=EC=97=90=20=EB=A7=9E=EC=B6=B0=20=EC=88=98=EC=A0=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/BlogPost/DefaultProfileImage/index.tsx | 4 +---
src/views/BlogPage/components/BlogPost/Header/index.tsx | 4 +---
src/views/BlogPage/components/BlogPost/Like/index.tsx | 4 +---
src/views/BlogPage/components/BlogPostList/index.tsx | 4 +---
4 files changed, 4 insertions(+), 12 deletions(-)
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;