From 4f8b5cf5fb05d6f92be0e5f6d59e1135c37faf09 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 27 Mar 2023 00:47:29 +0800 Subject: [PATCH] Fix deduping happened before saving the status --- src/pages/following.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/following.jsx b/src/pages/following.jsx index 668bf48f..60beb217 100644 --- a/src/pages/following.jsx +++ b/src/pages/following.jsx @@ -30,11 +30,11 @@ function Following({ title, path, id, ...props }) { console.log('First load', latestItem.current); } - value = dedupeBoosts(value, instance); value = filteredItems(value, 'home'); value.forEach((item) => { saveStatus(item, instance); }); + value = dedupeBoosts(value, instance); // ENFORCE sort by datetime (Latest first) value.sort((a, b) => {