diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-02 04:16:48 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-02 04:16:48 +0800 |
commit | bda9d4c1b099fc4db05d34a1d8dc0543a68413b8 (patch) | |
tree | faee82d0bca11cc610ee7ac8d0c4c298722208b4 /packages/instant/src/components | |
parent | b55ba3a31823699fa2460fad6fd22b913c38c946 (diff) | |
download | dexon-sol-tools-bda9d4c1b099fc4db05d34a1d8dc0543a68413b8.tar dexon-sol-tools-bda9d4c1b099fc4db05d34a1d8dc0543a68413b8.tar.gz dexon-sol-tools-bda9d4c1b099fc4db05d34a1d8dc0543a68413b8.tar.bz2 dexon-sol-tools-bda9d4c1b099fc4db05d34a1d8dc0543a68413b8.tar.lz dexon-sol-tools-bda9d4c1b099fc4db05d34a1d8dc0543a68413b8.tar.xz dexon-sol-tools-bda9d4c1b099fc4db05d34a1d8dc0543a68413b8.tar.zst dexon-sol-tools-bda9d4c1b099fc4db05d34a1d8dc0543a68413b8.zip |
feat: auto-close panel when a token is selected
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_container.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_container.tsx b/packages/instant/src/components/zero_ex_instant_container.tsx index 765ff7e3d..850beb49c 100644 --- a/packages/instant/src/components/zero_ex_instant_container.tsx +++ b/packages/instant/src/components/zero_ex_instant_container.tsx @@ -46,7 +46,7 @@ export class ZeroExInstantContainer extends React.Component<ZeroExInstantContain animationState={this.state.tokenSelectionPanelAnimationState} onClose={this._handlePanelClose} > - <AvailableERC20TokenSelector /> + <AvailableERC20TokenSelector onTokenSelect={this._handlePanelClose} /> </SlidingPanel> </Container> </Container> |