aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/tx-view.js
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-03 05:17:58 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-03 05:17:58 +0800
commit9ebdc343aa32c36bdff9debcecc3c75485939e2a (patch)
treef7e7e8813ad328e63efc73b2ab8b6c5025962334 /ui/app/components/tx-view.js
parentdfa10763e36f745d82fb62adc4ac42773d266da4 (diff)
downloadtangerine-wallet-browser-9ebdc343aa32c36bdff9debcecc3c75485939e2a.tar.gz
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.js13
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: {