From d68fc73af59bb243aac5837ee83f8db56e52d60b Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Thu, 4 Dec 2025 22:57:26 +0000 Subject: [PATCH] Don't setStories when existing list is empty --- webclient/src/Feed.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/webclient/src/Feed.js b/webclient/src/Feed.js index 4b92108..8e99a35 100644 --- a/webclient/src/Feed.js +++ b/webclient/src/Feed.js @@ -36,11 +36,6 @@ function Feed({ updateCache }) { if (!updated) return; - if (!stories || !stories.length) { - setStories(newApiStories); - localStorage.setItem('stories', JSON.stringify(newApiStories)); - } - setLoadingStatus({ current: 0, total: newApiStories.length }); let currentStories = Array.isArray(stories) ? [...stories] : [];