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)