aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-31 07:45:04 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-31 07:45:04 +0800
commit0e1e9b27f6f5b93e1f9b0e2833bc600836f8e757 (patch)
treeba6ee0df8fd434fd5741cf5f0e603229818a479f
parent9787d1085da225ac3180983065f63d26a6bab3e6 (diff)
downloaddexon-sol-tools-0e1e9b27f6f5b93e1f9b0e2833bc600836f8e757.tar
dexon-sol-tools-0e1e9b27f6f5b93e1f9b0e2833bc600836f8e757.tar.gz
dexon-sol-tools-0e1e9b27f6f5b93e1f9b0e2833bc600836f8e757.tar.bz2
dexon-sol-tools-0e1e9b27f6f5b93e1f9b0e2833bc600836f8e757.tar.lz
dexon-sol-tools-0e1e9b27f6f5b93e1f9b0e2833bc600836f8e757.tar.xz
dexon-sol-tools-0e1e9b27f6f5b93e1f9b0e2833bc600836f8e757.tar.zst
dexon-sol-tools-0e1e9b27f6f5b93e1f9b0e2833bc600836f8e757.zip
Takeout unneeded div
-rw-r--r--packages/instant/src/components/buy_order_state_buttons.tsx22
1 files changed, 10 insertions, 12 deletions
diff --git a/packages/instant/src/components/buy_order_state_buttons.tsx b/packages/instant/src/components/buy_order_state_buttons.tsx
index df1664cd9..4a6b467d2 100644
--- a/packages/instant/src/components/buy_order_state_buttons.tsx
+++ b/packages/instant/src/components/buy_order_state_buttons.tsx
@@ -51,17 +51,15 @@ export const BuyOrderStateButtons: React.StatelessComponent<BuyOrderStateButtonP
}
return (
- <div>
- <BuyButton
- buyQuote={props.buyQuote}
- assetBuyer={props.assetBuyer}
- onValidationPending={props.onValidationPending}
- onValidationFail={props.onValidationFail}
- onSignatureDenied={props.onSignatureDenied}
- onBuyProcessing={props.onBuyProcessing}
- onBuySuccess={props.onBuySuccess}
- onBuyFailure={props.onBuyFailure}
- />
- </div>
+ <BuyButton
+ buyQuote={props.buyQuote}
+ assetBuyer={props.assetBuyer}
+ onValidationPending={props.onValidationPending}
+ onValidationFail={props.onValidationFail}
+ onSignatureDenied={props.onSignatureDenied}
+ onBuyProcessing={props.onBuyProcessing}
+ onBuySuccess={props.onBuySuccess}
+ onBuyFailure={props.onBuyFailure}
+ />
);
};