Skip to content

Commit

Permalink
https://qiita.com/wagase/items/e9f1fabef4a17f2937c4
Browse files Browse the repository at this point in the history
  • Loading branch information
akku1139 authored Feb 16, 2024
1 parent 1f89ef4 commit cbfe146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Articles.astro
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const qiitaData: QiitaArticle[] = await ofetch<QiitaContent>("https://qiita.com/
return JSON.parse(res).map((article) => {return {site: "qiita", ...article}});
},
});
const combinedData: (ZennArticle | NoteArticle | QiitaArticle)[] = zennData + noteData + qiitaData;
const combinedData: (ZennArticle | NoteArticle | QiitaArticle)[] = [...zennData, ...noteData, ...qiitaData];
const compareDates = (a: { published_at: string } | { publish_at: string } | { created_at: string},
b: { published_at: string } | { publish_at: string } | { created_at: string},
): number => {
Expand Down

0 comments on commit cbfe146

Please sign in to comment.