From bf3e6bbc28319e4f114cef268d8d11d6faec40cf Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Tue, 2 Dec 2025 16:52:32 +0000 Subject: [PATCH] Don't setStories every loop iteration --- webclient/src/Feed.js | 1 - 1 file changed, 1 deletion(-) diff --git a/webclient/src/Feed.js b/webclient/src/Feed.js index 6915bb5..5c9c7d1 100644 --- a/webclient/src/Feed.js +++ b/webclient/src/Feed.js @@ -62,7 +62,6 @@ function Feed({ updateCache }) { currentStories.unshift(newStory); localStorage.setItem('stories', JSON.stringify(currentStories)); - setStories(currentStories); } catch (error) { let errorMessage; if (error.name === 'AbortError') {