{selectedTap === 'ARTICLE' ? (
<>
- {post.authorProfileImageUrl ? (
+ {blogPost.authorProfileImageUrl ? (
)}
- {post.author}
+ {blogPost.author}
∙
- {formatDate(new Date(post.uploadedAt), 'yyyymmdd', '.')}
+ {formatDate(new Date(blogPost.uploadedAt), 'yyyymmdd', '.')}
>
) : (
- {post.subject}
+ {blogPost.subject}
)}
);
diff --git a/src/views/BlogPage/components/Post/Header/style.ts b/src/views/BlogPage/components/BlogPost/Header/style.ts
similarity index 100%
rename from src/views/BlogPage/components/Post/Header/style.ts
rename to src/views/BlogPage/components/BlogPost/Header/style.ts
diff --git a/src/views/BlogPage/components/Post/Like/index.tsx b/src/views/BlogPage/components/BlogPost/Like/index.tsx
similarity index 71%
rename from src/views/BlogPage/components/Post/Like/index.tsx
rename to src/views/BlogPage/components/BlogPost/Like/index.tsx
index 9f915940..f482d866 100644
--- a/src/views/BlogPage/components/Post/Like/index.tsx
+++ b/src/views/BlogPage/components/BlogPost/Like/index.tsx
@@ -5,19 +5,19 @@ import { BlogPostType } from '@src/lib/types/blog';
import * as S from './style';
interface LikeProps {
- post: BlogPostType;
+ blogPost: BlogPostType;
}
-function Like({ post }: LikeProps) {
+function Like({ blogPost }: LikeProps) {
return (