fix: fix spelling error

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