diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-07-02 05:48:01 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-07-02 05:51:02 +0800 |
commit | 86d4ffe7e561ec72aa41300fd6c1e8f493ba0306 (patch) | |
tree | 08184b7b80bdfbe29c713ea7ff325f53f5adeaf1 /packages/website/ts/components/ui | |
parent | 2dea179333dd14ad74aea65bb6558aac3bb716f4 (diff) | |
download | dexon-sol-tools-86d4ffe7e561ec72aa41300fd6c1e8f493ba0306.tar dexon-sol-tools-86d4ffe7e561ec72aa41300fd6c1e8f493ba0306.tar.gz dexon-sol-tools-86d4ffe7e561ec72aa41300fd6c1e8f493ba0306.tar.bz2 dexon-sol-tools-86d4ffe7e561ec72aa41300fd6c1e8f493ba0306.tar.lz dexon-sol-tools-86d4ffe7e561ec72aa41300fd6c1e8f493ba0306.tar.xz dexon-sol-tools-86d4ffe7e561ec72aa41300fd6c1e8f493ba0306.tar.zst dexon-sol-tools-86d4ffe7e561ec72aa41300fd6c1e8f493ba0306.zip |
Lint fixes
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r-- | packages/website/ts/components/ui/drop_down.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/components/ui/simple_menu.tsx | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/packages/website/ts/components/ui/drop_down.tsx b/packages/website/ts/components/ui/drop_down.tsx index 947e51be0..c21c69993 100644 --- a/packages/website/ts/components/ui/drop_down.tsx +++ b/packages/website/ts/components/ui/drop_down.tsx @@ -1,4 +1,4 @@ -import Popover, { PopoverAnimationVertical } from 'material-ui/Popover'; +import Popover from 'material-ui/Popover'; import * as React from 'react'; import { MaterialUIPosition } from 'ts/types'; diff --git a/packages/website/ts/components/ui/simple_menu.tsx b/packages/website/ts/components/ui/simple_menu.tsx index 52d97b1ea..c1cab07bd 100644 --- a/packages/website/ts/components/ui/simple_menu.tsx +++ b/packages/website/ts/components/ui/simple_menu.tsx @@ -65,10 +65,7 @@ export const CopyAddressSimpleMenuItem: React.StatelessComponent<CopyAddressSimp ); }; -export interface LinkSimpleMenuItemProps { - onClick?: () => void; -} -export const GoToAccountManagementSimpleMenuItem: React.StatelessComponent<LinkSimpleMenuItemProps> = ({ onClick }) => { +export const GoToAccountManagementSimpleMenuItem: React.StatelessComponent<{}> = () => { return ( <Link to={`${WebsitePaths.Portal}/account`} style={{ textDecoration: 'none' }}> <SimpleMenuItem displayText="Manage Account..." onClick={_.noop} /> |