Skip to content

Commit

Permalink
Update operations.js
Browse files Browse the repository at this point in the history
  • Loading branch information
danretegan committed Mar 3, 2024
1 parent d7b1aa9 commit 0a0795e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/redux/operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const fetchContacts = createAsyncThunk(
}
);

// ==== Actiunea asincrona addContact: ====
export const addContact = createAsyncThunk(
'contacts/addContact',
async (contact, thunkAPI) => {
Expand All @@ -37,6 +38,7 @@ export const addContact = createAsyncThunk(
}
);

// ==== Actiunea asincrona deleteContact: ====
export const deleteContact = createAsyncThunk(
'contacts/deleteContact',
async (contactId, thunkAPI) => {
Expand Down

0 comments on commit 0a0795e

Please sign in to comment.