Skip to content

Commit

Permalink
fix: Include resources to order request
Browse files Browse the repository at this point in the history
  • Loading branch information
acasazza committed Nov 30, 2021
1 parent c4492c4 commit 635d84a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/components/AdyenPayment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ const AdyenPayment: FunctionComponent<AdyenPaymentProps> = ({
paymentResource: 'adyen_payments',
attributes,
}))
debugger
// @ts-ignore
const adyenAction = pSource?.payment_response?.action
// @ts-ignore
Expand Down
2 changes: 1 addition & 1 deletion src/components/OrderContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const OrderContainer: FunctionComponent<OrderContainerProps> = (props) => {
}
}
return (): void => unsetOrderState(dispatch)
}, [config.accessToken, orderId, state.include])
}, [config.accessToken, orderId])
const orderValue = useMemo(() => {
return {
...state,
Expand Down
1 change: 0 additions & 1 deletion src/reducers/PlaceOrderReducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ export const setPlaceOrder: SetPlaceOrder = async ({
placed: false,
}
try {
debugger
if (state && order && config && paymentSource) {
const sdk = getSdk(config)
const { options, paymentType } = state
Expand Down

0 comments on commit 635d84a

Please sign in to comment.