Skip to content

Commit

Permalink
remove comments update yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
RealDyllon committed Feb 27, 2023
1 parent 731d877 commit 9be9487
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/pages/Checkout/Checkout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const Checkout: FC = () => {
const cartContext = useCartStore();
const [isLoading, setIsLoading] = useState<boolean>(true);
const { state: cartState, dispatch: cartDispatch } = cartContext;
// const [checkoutState, setCheckoutState] = useState<CheckoutResponseDto | null>(null);
const { state: checkoutState, setState: setCheckoutState } = useCheckoutStore()

// For mapping between cart item and info
Expand Down
1 change: 0 additions & 1 deletion src/pages/Checkout/StripeForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const PaymentForm = () => {
// TODO: remove userId as we do not have a login
// TODO: order ID to be generated iteratively with api call
setIsLoading(true);
// const checkoutCart = await api.postCheckoutCart(cartState.items, cartState.billingEmail, cartState.voucher)

const payload : CartAction = {
type: CartActionType.RESET_CART
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@aws-amplify/api-graphql" "2.2.24"
"@aws-amplify/api-rest" "2.0.35"

"@aws-amplify/[email protected]", "@aws-amplify/auth@^4.4.4":
"@aws-amplify/[email protected]":
version "4.4.4"
resolved "https://registry.yarnpkg.com/@aws-amplify/auth/-/auth-4.4.4.tgz#b1c78a3bc0f80bd5303de91bf836eb2b543d2fa0"
integrity sha512-/iQB8teOXxb6XkOK2nPBxldU5YZjMLy6vTpihWMOPP96TWqldgnKSZykYtsrTb6uYK8iF1VWr7DI9OE7UpKONQ==
Expand Down

0 comments on commit 9be9487

Please sign in to comment.