diff options
author | Fabio Berger <me@fabioberger.com> | 2017-12-19 17:39:25 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-12-19 17:39:25 +0800 |
commit | 1f85d31663092b803c8f0f2b8f00c6adf80867bf (patch) | |
tree | 702552426512efbeb83b1b2d6810f9365e7453bb /packages | |
parent | 684542d073367ac13021262e7e69edb607629c55 (diff) | |
download | dexon-sol-tools-1f85d31663092b803c8f0f2b8f00c6adf80867bf.tar dexon-sol-tools-1f85d31663092b803c8f0f2b8f00c6adf80867bf.tar.gz dexon-sol-tools-1f85d31663092b803c8f0f2b8f00c6adf80867bf.tar.bz2 dexon-sol-tools-1f85d31663092b803c8f0f2b8f00c6adf80867bf.tar.lz dexon-sol-tools-1f85d31663092b803c8f0f2b8f00c6adf80867bf.tar.xz dexon-sol-tools-1f85d31663092b803c8f0f2b8f00c6adf80867bf.tar.zst dexon-sol-tools-1f85d31663092b803c8f0f2b8f00c6adf80867bf.zip |
Remove binding on prop passed callbacks
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/ts/components/dialogs/portal_disclaimer_dialog.tsx | 4 | ||||
-rw-r--r-- | packages/website/ts/components/dialogs/wrapped_eth_section_notice_dialog.tsx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/website/ts/components/dialogs/portal_disclaimer_dialog.tsx b/packages/website/ts/components/dialogs/portal_disclaimer_dialog.tsx index bfff7fbb5..800cb0656 100644 --- a/packages/website/ts/components/dialogs/portal_disclaimer_dialog.tsx +++ b/packages/website/ts/components/dialogs/portal_disclaimer_dialog.tsx @@ -17,11 +17,11 @@ export function PortalDisclaimerDialog(props: PortalDisclaimerDialogProps) { <FlatButton key="portalAgree" label="I Agree" - onTouchTap={props.onToggleDialog.bind(this)} + onTouchTap={props.onToggleDialog} />, ]} open={props.isOpen} - onRequestClose={props.onToggleDialog.bind(this)} + onRequestClose={props.onToggleDialog} autoScrollBodyContent={true} modal={true} > diff --git a/packages/website/ts/components/dialogs/wrapped_eth_section_notice_dialog.tsx b/packages/website/ts/components/dialogs/wrapped_eth_section_notice_dialog.tsx index d13b2e8ce..7331ebb37 100644 --- a/packages/website/ts/components/dialogs/wrapped_eth_section_notice_dialog.tsx +++ b/packages/website/ts/components/dialogs/wrapped_eth_section_notice_dialog.tsx @@ -17,11 +17,11 @@ export function WrappedEthSectionNoticeDialog(props: WrappedEthSectionNoticeDial <FlatButton key="acknowledgeWrapEthSection" label="Sounds good" - onTouchTap={props.onToggleDialog.bind(this)} + onTouchTap={props.onToggleDialog} />, ]} open={props.isOpen} - onRequestClose={props.onToggleDialog.bind(this)} + onRequestClose={props.onToggleDialog} autoScrollBodyContent={true} modal={true} > |