diff --git a/src/components/Articles.astro b/src/components/Articles.astro
index 0b61e52..b96c7d8 100644
--- a/src/components/Articles.astro
+++ b/src/components/Articles.astro
@@ -1,4 +1,4 @@
-//---
+---
import { ofetch } from "ofetch";
import ArticleCard from "./ArticleCard.astro";
@@ -70,7 +70,7 @@ const compareDates = (a: { published_at: string } | { publish_at: string } | { c
};
const sortedData = combinedData.sort(compareDates);
console.log(sortedData);
-//---
+---
{
@@ -83,7 +83,7 @@ console.log(sortedData);
poster_name={article.user.name}
poster_icon_url={article.user.avatar_small_url}
tag={(article.article_type === "idea" ? {text: "IDEA", bg: "bg-violet-500"} : {text: "TECH", bg: "bg-blue-200"})}
- >);
+ />);
} else if(article.site === "note") {
return (
}
poster_name={article.user.name}
poster_icon_url={article.user.profile_image_path}
- >);
+ />);
} else if(article.site === "qiita") {
return (
}
poster_name={article.user.id}
poster_icon_url={article.user.profile_image_url}
- >);
+ />);
}
})
}