diff --git a/.gitignore b/.gitignore
index 5c51ad0a..1b0a6bc7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,3 +45,4 @@ next-env.d.ts
static/
.react-email/
+/.idea
diff --git a/app/(main)/blog/BlogPostCard.tsx b/app/(main)/blog/BlogPostCard.tsx
index 38e53857..9439d8a1 100644
--- a/app/(main)/blog/BlogPostCard.tsx
+++ b/app/(main)/blog/BlogPostCard.tsx
@@ -54,10 +54,12 @@ export function BlogPostCard({ post, views }: { post: Post; views: number }) {
-
-
- {categories.join(', ')}
-
+ {Array.isArray(categories) && (
+
+
+ {categories.join(', ')}
+
+ )}