We’ll use fetch and an async action creator to save updated data to the server and update the UI with the result of the update and a success message once the save has completed successfully.
Protip: String template syntax must be wrapped in ` not '.
why didn't you pass todo obj to toggleTodo function directly?