diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-03 05:17:58 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-03 05:17:58 +0800 |
commit | 9ebdc343aa32c36bdff9debcecc3c75485939e2a (patch) | |
tree | f7e7e8813ad328e63efc73b2ab8b6c5025962334 /ui/app/components/tx-view.js | |
parent | dfa10763e36f745d82fb62adc4ac42773d266da4 (diff) | |
download | tangerine-wallet-browser-9ebdc343aa32c36bdff9debcecc3c75485939e2a.tar tangerine-wallet-browser-9ebdc343aa32c36bdff9debcecc3c75485939e2a.tar.gz tangerine-wallet-browser-9ebdc343aa32c36bdff9debcecc3c75485939e2a.tar.bz2 tangerine-wallet-browser-9ebdc343aa32c36bdff9debcecc3c75485939e2a.tar.lz tangerine-wallet-browser-9ebdc343aa32c36bdff9debcecc3c75485939e2a.tar.xz tangerine-wallet-browser-9ebdc343aa32c36bdff9debcecc3c75485939e2a.tar.zst tangerine-wallet-browser-9ebdc343aa32c36bdff9debcecc3c75485939e2a.zip |
Implement custom sidebar, with close button
Diffstat (limited to 'ui/app/components/tx-view.js')
-rw-r--r-- | ui/app/components/tx-view.js | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js index b72abb084..2aaa32395 100644 --- a/ui/app/components/tx-view.js +++ b/ui/app/components/tx-view.js @@ -52,20 +52,13 @@ TxView.prototype.render = function () { background: '#FFFFFF', } }, [ - // slideout - move to separate render func - h(SlideoutMenu, { - isOpen: this.props.sidebarOpen, - }, [ - h(WalletView, { - responsiveDisplayClassname: '.phone-visible' - }), - ]), - h('div.phone-visible.fa.fa-bars', { onClick: () => { + console.log("click received") this.props.sidebarOpen ? this.props.hideSidebar() : this.props.showSidebar() } - }, []), + }, [ + ]), h('div.flex-row', { style: { |