diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-05-18 02:44:24 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-05-19 02:35:13 +0800 |
commit | 1d2617c826afaed60dc07e0f767b3530d20f161b (patch) | |
tree | 3469f3af496c936a0cb6ca2e4cc2672c763eb61f /packages/website/ts/components/top_bar | |
parent | 7c8e9ddc42eb7d58073b3a1b9be587b72cc539bd (diff) | |
download | dexon-0x-contracts-1d2617c826afaed60dc07e0f767b3530d20f161b.tar.gz dexon-0x-contracts-1d2617c826afaed60dc07e0f767b3530d20f161b.tar.zst dexon-0x-contracts-1d2617c826afaed60dc07e0f767b3530d20f161b.zip |
Add custom styling for drawer
Diffstat (limited to 'packages/website/ts/components/top_bar')
-rw-r--r-- | packages/website/ts/components/top_bar/top_bar.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx index 7d5d05c9f..076f90b22 100644 --- a/packages/website/ts/components/top_bar/top_bar.tsx +++ b/packages/website/ts/components/top_bar/top_bar.tsx @@ -9,6 +9,7 @@ import { Link } from 'react-router-dom'; import ReactTooltip = require('react-tooltip'); import { Blockchain } from 'ts/blockchain'; import { LegacyPortalMenu } from 'ts/components/legacy_portal/legacy_portal_menu'; +import { DrawerMenu } from 'ts/components/portal/drawer_menu'; import { SidebarHeader } from 'ts/components/sidebar_header'; import { ProviderDisplay } from 'ts/components/top_bar/provider_display'; import { TopBarMenuItem } from 'ts/components/top_bar/top_bar_menu_item'; @@ -289,7 +290,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> { openSecondary={true} onRequestChange={this._onMenuButtonClick.bind(this)} > - <div /> + <DrawerMenu selectedPath={this.props.location.pathname} userAddress={this.props.userAddress} /> </Drawer> ); } |