Skip to content

Commit

Permalink
for check
Browse files Browse the repository at this point in the history
  • Loading branch information
TkachenkoKaterina committed Mar 15, 2024
1 parent 410b73c commit 08d1bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/contactsSlice.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const contactsSlice = createSlice({
state.contacts.isLoading = false;
state.contacts.error = null;
state.contacts.items = state.contacts.items.filter(
contact => contact.id !== action.payload
contact => contact.id !== action.payload.id
);
})
.addCase(deleteContact.rejected, handleRejected);
Expand Down

0 comments on commit 08d1bf1

Please sign in to comment.