Skip to content

Commit

Permalink
Merge pull request #2 from Valik3201/feature/implement-redux
Browse files Browse the repository at this point in the history
feat: reset initial state for contacts in store
  • Loading branch information
Valik3201 committed Feb 15, 2024
2 parents 4f28b8b + 8dbaf2f commit d17661b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/redux/reducers/contactsSlice.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { createSlice } from '@reduxjs/toolkit';

const initialState = {
contacts: [
{ id: 0, name: 'Katy Perry', phone: '+1 (682) 560-1864' },
{ id: 1, name: 'Lady Gaga', phone: '+1 (845) 927-7865' },
],
contacts: [],
filter: '',
};

Expand Down

0 comments on commit d17661b

Please sign in to comment.