diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-26 04:36:45 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-26 04:36:45 +0800 |
commit | 3adc6b6daa16bb1dc80a8c4109b0bed56f937ea0 (patch) | |
tree | 5e3dd34412506ff5638ea3aad84ec5d377daea80 /packages/instant/src/components | |
parent | c5e8bb17635d8710f0db62a8887f990cb6ad482f (diff) | |
download | dexon-sol-tools-3adc6b6daa16bb1dc80a8c4109b0bed56f937ea0.tar dexon-sol-tools-3adc6b6daa16bb1dc80a8c4109b0bed56f937ea0.tar.gz dexon-sol-tools-3adc6b6daa16bb1dc80a8c4109b0bed56f937ea0.tar.bz2 dexon-sol-tools-3adc6b6daa16bb1dc80a8c4109b0bed56f937ea0.tar.lz dexon-sol-tools-3adc6b6daa16bb1dc80a8c4109b0bed56f937ea0.tar.xz dexon-sol-tools-3adc6b6daa16bb1dc80a8c4109b0bed56f937ea0.tar.zst dexon-sol-tools-3adc6b6daa16bb1dc80a8c4109b0bed56f937ea0.zip |
Making failure txHash required
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r-- | packages/instant/src/components/buy_button.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/buy_button.tsx b/packages/instant/src/components/buy_button.tsx index 841a9593b..6fe333dc7 100644 --- a/packages/instant/src/components/buy_button.tsx +++ b/packages/instant/src/components/buy_button.tsx @@ -15,7 +15,7 @@ export interface BuyButtonProps { onSignatureDenied: (buyQuote: BuyQuote, preventedError: Error) => void; onBuyProcessing: (buyQuote: BuyQuote, txHash: string) => void; onBuySuccess: (buyQuote: BuyQuote, txHash: string) => void; - onBuyFailure: (buyQuote: BuyQuote, txHash?: string) => void; // TODO: make this non-optional + onBuyFailure: (buyQuote: BuyQuote, txHash: string) => void; } export class BuyButton extends React.Component<BuyButtonProps> { |