aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/top_bar/top_bar.tsx
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-02 04:31:43 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-02 05:50:55 +0800
commita6f40d418704a8dca8c787663f00b6bcbdf18ba4 (patch)
tree8da4c0c480df8d200b0a39e7945787e95953b1e8 /packages/website/ts/components/top_bar/top_bar.tsx
parent6daf754f5bb4aa85d0f65bfdaf8910db4401d1cc (diff)
downloaddexon-sol-tools-a6f40d418704a8dca8c787663f00b6bcbdf18ba4.tar
dexon-sol-tools-a6f40d418704a8dca8c787663f00b6bcbdf18ba4.tar.gz
dexon-sol-tools-a6f40d418704a8dca8c787663f00b6bcbdf18ba4.tar.bz2
dexon-sol-tools-a6f40d418704a8dca8c787663f00b6bcbdf18ba4.tar.lz
dexon-sol-tools-a6f40d418704a8dca8c787663f00b6bcbdf18ba4.tar.xz
dexon-sol-tools-a6f40d418704a8dca8c787663f00b6bcbdf18ba4.tar.zst
dexon-sol-tools-a6f40d418704a8dca8c787663f00b6bcbdf18ba4.zip
Implement correct behavior for menu in the wallet
Diffstat (limited to 'packages/website/ts/components/top_bar/top_bar.tsx')
-rw-r--r--packages/website/ts/components/top_bar/top_bar.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx
index fac6c131f..778536663 100644
--- a/packages/website/ts/components/top_bar/top_bar.tsx
+++ b/packages/website/ts/components/top_bar/top_bar.tsx
@@ -199,7 +199,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
cursor: 'pointer',
paddingTop: 16,
};
- const hoverActiveNode = (
+ const activeNode = (
<div className="flex relative" style={{ color: menuIconStyle.color }}>
<div style={{ paddingRight: 10 }}>{this.props.translate.get(Key.Developers, Deco.Cap)}</div>
<div className="absolute" style={{ paddingLeft: 3, right: 3, top: -2 }}>
@@ -224,7 +224,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
<div className={menuClasses}>
<div className="flex justify-between">
<DropDown
- hoverActiveNode={hoverActiveNode}
+ activeNode={activeNode}
popoverContent={popoverContent}
anchorOrigin={{ horizontal: 'middle', vertical: 'bottom' }}
targetOrigin={{ horizontal: 'middle', vertical: 'top' }}