diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-27 10:23:42 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-27 10:23:42 +0800 |
commit | bb307a55d347c34ab51144c75721860e13659ecb (patch) | |
tree | 5656595aefd51fc153c404de0a4c7249e7fcd569 /packages | |
parent | 667b1e03ddba1a2fac16488239f6bc977fa4cb6d (diff) | |
download | dexon-sol-tools-bb307a55d347c34ab51144c75721860e13659ecb.tar dexon-sol-tools-bb307a55d347c34ab51144c75721860e13659ecb.tar.gz dexon-sol-tools-bb307a55d347c34ab51144c75721860e13659ecb.tar.bz2 dexon-sol-tools-bb307a55d347c34ab51144c75721860e13659ecb.tar.lz dexon-sol-tools-bb307a55d347c34ab51144c75721860e13659ecb.tar.xz dexon-sol-tools-bb307a55d347c34ab51144c75721860e13659ecb.tar.zst dexon-sol-tools-bb307a55d347c34ab51144c75721860e13659ecb.zip |
questionmark syntax instead of '| undefined'
Diffstat (limited to 'packages')
-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 8b2e0e1f6..86c55dbf9 100644 --- a/packages/instant/src/components/buy_button.tsx +++ b/packages/instant/src/components/buy_button.tsx @@ -19,7 +19,7 @@ export interface BuyButtonProps { onBuyProcessing: (buyQuote: BuyQuote, txHash: string) => void; onBuySuccess: (buyQuote: BuyQuote, txHash: string) => void; onBuyFailure: (buyQuote: BuyQuote, txHash: string) => void; - validateWalletBeforeBuy: (buyQuote: BuyQuote, takerAddress: string | undefined) => Promise<boolean>; + validateWalletBeforeBuy: (buyQuote: BuyQuote, takerAddress?: string) => Promise<boolean>; } export class BuyButton extends React.Component<BuyButtonProps> { |