feat: Persist new stories and improve layout consistency

This commit is contained in:
Tanner
2025-11-21 22:39:32 +00:00
committed by Tanner Collin (aider)
parent c1a6938a50
commit 79b857548b
2 changed files with 6 additions and 1 deletions
+3
View File
@@ -56,6 +56,9 @@ function Feed({ updateCache }) {
currentStories.splice(existingStoryIndex, 1);
}
currentStories.unshift(newStory);
localStorage.setItem('stories', JSON.stringify(currentStories));
setStories(currentStories);
} catch (error) {
let errorMessage;
if (error.name === 'AbortError') {