fix: fix spelling error
This commit is contained in:
1 parent
010d9af9df
commit
f363deead4
1 file changed
+1
-1
@@ -13,7 +13,7 @@ const reducer = (state, action) => {
|
|||||||
basket: [...state.basket, action.item],
|
basket: [...state.basket, action.item],
|
||||||
};
|
};
|
||||||
|
|
||||||
case "REMOVE_FROM_BAKSET":
|
case "REMOVE_FROM_BASKET":
|
||||||
const index = state.basket.findIndex(
|
const index = state.basket.findIndex(
|
||||||
(basketItem) => basketItem.id === action.id
|
(basketItem) => basketItem.id === action.id
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user