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