Skip to content
Snippets Groups Projects
Commit bf8ad9d3 authored by Tomasz Knapik's avatar Tomasz Knapik Committed by Todd Dembrey
Browse files

Fix not getting rid of errors after success

parent 4f2f6719
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ function notesFailedCreating(state = {}, action) {
case UPDATE_NOTE:
case START_CREATING_NOTE_FOR_SUBMISSION:
return Object.entries(state).reduce((acc, [k, v]) => {
if (k !== action.submissionID) {
if (parseInt(k) !== action.submissionID) {
acc[k] = v;
}
return acc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment