From b0792a85a4d002bfe54ba228bfeadf29c89bfe09 Mon Sep 17 00:00:00 2001
From: Steve Klebanoff <steve.klebanoff@gmail.com>
Date: Wed, 21 Nov 2018 14:33:12 -0800
Subject: Add comment

---
 packages/instant/src/components/erc20_asset_amount_input.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'packages/instant/src/components/erc20_asset_amount_input.tsx')

diff --git a/packages/instant/src/components/erc20_asset_amount_input.tsx b/packages/instant/src/components/erc20_asset_amount_input.tsx
index b734af61a..ff900842a 100644
--- a/packages/instant/src/components/erc20_asset_amount_input.tsx
+++ b/packages/instant/src/components/erc20_asset_amount_input.tsx
@@ -65,6 +65,7 @@ export class ERC20AssetAmountInput extends React.Component<ERC20AssetAmountInput
                         onAmountChange={this._handleChange}
                         onFontSizeChange={this._handleFontSizeChange}
                         hasAutofocus={true}
+                        /* We send in a key of asset data to force a rerender of this component when the user selects a new asset.  We do this so the autofocus attribute will bring focus onto this input */
                         key={asset.assetData}
                     />
                 </Container>
-- 
cgit v1.2.3

