fixed for loop bug

This commit is contained in:
Tomoya Matsuura(MacBookPro) 2024-03-04 13:24:01 +09:00
parent 85058be1c2
commit 049a9bec94

View File

@ -131,7 +131,7 @@ async function fetchNewPosts() {
.reverse();
let newTimestampId = 0;
for (item in reversed) {
for (item of reversed) {
const currentTimestampId = Date.parse(item.published);
if (currentTimestampId > newTimestampId) {