I've been doing my latest code with redux tool kit . I've created a simple contact form that fetches data from the rest api(Via JSON placeholder). And also allows a user to add a contact and also edit a contact. However, when it comes to deleting a contact, I've run into a bit of a problem. Despite grabbing the user by its ID, I'm still unable to remove the contact from the page. If possible, could anyone tell me what I'm doing wrong? Thanks.
I've provided a screenshot of the reducer, the dispatch, and the results in the console via logger.