Upd:
- Removed the code responsible for storing and reading contacts from the local
storage, and added communication with the backend (
mockapi.io
) for storing contacts - Used
createAsyncThunk
to declare asynchronous action generators and make HTTP requests.