Skip to content

Commit

Permalink
fix(CreateContext.jsx): InvoiceCreated event
Browse files Browse the repository at this point in the history
- remove paymentAmounts from event data: arrays not allowed
  • Loading branch information
moconnell committed Nov 29, 2023
1 parent d603266 commit 3a2819e
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions packages/dapp/context/CreateContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ export function CreateContextProvider({ children }) {
chainId,
invoiceType,
paymentToken,
paymentAmounts,
paymentTotal,
});
} else {
Expand All @@ -302,28 +301,17 @@ export function CreateContextProvider({ children }) {
);
}
}, [
chainId,
rpcProvider,
// clientAddress,
paymentAddress,
// arbitrationProvider,
// paymentToken,
payments,
// safetyValveDate,
// deadline,
// lateFee,
// lateFeeInterval,
detailsHash,
// requireVerification,
// step1Valid,
// escrowStep2Valid,
// instantStep2Valid,
// escrowStep3Valid,
allValid,
detailsHash,
chainId,
invoiceType,
Escrow,
Instant,
rpcProvider,
paymentAddress,
paymentToken,
encodeEscrowData,
payments,
encodeInstantData,
paymentDue,
]);
Expand Down

0 comments on commit 3a2819e

Please # to comment.