From 42c021ba388c1b13c57cda79c31c930226c00b4e Mon Sep 17 00:00:00 2001 From: Nikita Date: Tue, 24 Sep 2024 19:14:39 +0300 Subject: [PATCH] small refactor --- src/app/slices/favoritesSlice.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/slices/favoritesSlice.ts b/src/app/slices/favoritesSlice.ts index 7a13d3c..6eaaa0c 100644 --- a/src/app/slices/favoritesSlice.ts +++ b/src/app/slices/favoritesSlice.ts @@ -16,7 +16,6 @@ export const favoritesSlice = createSlice({ initialState, reducers: { addToFavorites: (state, action: PayloadAction) => { - console.log(state.favoriteItems); const favItem = state.favoriteItems.find( favItem => favItem.id === action.payload.id, );