diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-02-10 04:05:27 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-02-10 04:05:27 +0800 |
commit | 72ffa2c3f5abbcb06c8ab5fdf20b9d934c330692 (patch) | |
tree | 0a10e6fc1d76c1184bf714691bcf3c0b55acd9b6 /ui/app/app.js | |
parent | ef0bbb291d3eb6a72e8277179e020b7decbec70f (diff) | |
download | tangerine-wallet-browser-72ffa2c3f5abbcb06c8ab5fdf20b9d934c330692.tar tangerine-wallet-browser-72ffa2c3f5abbcb06c8ab5fdf20b9d934c330692.tar.gz tangerine-wallet-browser-72ffa2c3f5abbcb06c8ab5fdf20b9d934c330692.tar.bz2 tangerine-wallet-browser-72ffa2c3f5abbcb06c8ab5fdf20b9d934c330692.tar.lz tangerine-wallet-browser-72ffa2c3f5abbcb06c8ab5fdf20b9d934c330692.tar.xz tangerine-wallet-browser-72ffa2c3f5abbcb06c8ab5fdf20b9d934c330692.tar.zst tangerine-wallet-browser-72ffa2c3f5abbcb06c8ab5fdf20b9d934c330692.zip |
Fix react-router related exceptions
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 0ecfd0dde..168dfa9ac 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -268,7 +268,7 @@ class App extends Component { }, [ h('div.app-header-contents', {}, [ h('div.left-menu-wrapper', { - onClick: () => history.push(DEFAULT_ROUTE), + onClick: () => props.history.push(DEFAULT_ROUTE), }, [ // mini logo h('img.metafox-icon', { |