Skip to content

Commit

Permalink
small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita committed Sep 24, 2024
1 parent 1bdf0d0 commit 42c021b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/slices/favoritesSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const favoritesSlice = createSlice({
initialState,
reducers: {
addToFavorites: (state, action: PayloadAction<UnionProduct>) => {
console.log(state.favoriteItems);
const favItem = state.favoriteItems.find(
favItem => favItem.id === action.payload.id,
);
Expand Down

0 comments on commit 42c021b

Please sign in to comment.