fix: fix spelling error

This commit is contained in:
Leon Xu
2022-05-07 12:12:33 -07:00
parent 010d9af9df
commit f363deead4
+1 -1
View File
@@ -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
);