aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/instant_heading.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-01 02:55:48 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-01 02:55:48 +0800
commit27258fe3d45b8ffae81b74da43e473ae5905edc1 (patch)
treef4ebc7107ce10b10ac4b75b758b54d66c6ddd887 /packages/instant/src/components/instant_heading.tsx
parent91f8487947d7941b508c34d1bfc1e72c0840c33d (diff)
downloaddexon-sol-tools-27258fe3d45b8ffae81b74da43e473ae5905edc1.tar
dexon-sol-tools-27258fe3d45b8ffae81b74da43e473ae5905edc1.tar.gz
dexon-sol-tools-27258fe3d45b8ffae81b74da43e473ae5905edc1.tar.bz2
dexon-sol-tools-27258fe3d45b8ffae81b74da43e473ae5905edc1.tar.lz
dexon-sol-tools-27258fe3d45b8ffae81b74da43e473ae5905edc1.tar.xz
dexon-sol-tools-27258fe3d45b8ffae81b74da43e473ae5905edc1.tar.zst
dexon-sol-tools-27258fe3d45b8ffae81b74da43e473ae5905edc1.zip
chore: address PR feedback
Diffstat (limited to 'packages/instant/src/components/instant_heading.tsx')
-rw-r--r--packages/instant/src/components/instant_heading.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/components/instant_heading.tsx b/packages/instant/src/components/instant_heading.tsx
index 08efd1b64..19c08db70 100644
--- a/packages/instant/src/components/instant_heading.tsx
+++ b/packages/instant/src/components/instant_heading.tsx
@@ -16,7 +16,7 @@ export interface InstantHeadingProps {
ethUsdPrice?: BigNumber;
quoteRequestState: AsyncProcessState;
buyOrderState: OrderState;
- onSymbolClick?: (asset?: ERC20Asset) => void;
+ onSelectAssetClick?: (asset?: ERC20Asset) => void;
}
const PLACEHOLDER_COLOR = ColorOption.white;
@@ -50,7 +50,7 @@ export class InstantHeading extends React.Component<InstantHeadingProps, {}> {
<Flex height="60px">
<SelectedERC20AssetAmountInput
startingFontSizePx={38}
- onSymbolClick={this.props.onSymbolClick}
+ onSelectAssetClick={this.props.onSelectAssetClick}
/>
</Flex>
<Flex direction="column" justify="space-between">