From be9825e4aea5b0a1efaee983e931db3a7ddd02d7 Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Mon, 29 Aug 2022 19:44:04 -0600 Subject: [PATCH] don't return until all blocks handled --- webapp/src/store/contents.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/webapp/src/store/contents.ts b/webapp/src/store/contents.ts index 53bcb2138..c2d9df117 100644 --- a/webapp/src/store/contents.ts +++ b/webapp/src/store/contents.ts @@ -30,7 +30,6 @@ const contentsSlice = createSlice({ for (let i = 0; i < state.contentsByCard[content.parentId].length; i++) { if (state.contentsByCard[content.parentId][i].id === content.id) { state.contentsByCard[content.parentId][i] = content - return } } state.contentsByCard[content.parentId].push(content)