diff options
author | Fabio Berger <me@fabioberger.com> | 2018-01-31 03:45:09 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-01-31 03:45:09 +0800 |
commit | 16ea0348a9776c99bf50013fca65deb2ba2d698e (patch) | |
tree | cfe98e292ad2cfc80e70a981ea10a8536283df10 /packages/website/ts/components/top_bar | |
parent | 57acb8db5c48df994f106f8e4b369f7e780f7c9c (diff) | |
download | dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar.gz dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar.bz2 dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar.lz dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar.xz dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.tar.zst dexon-0x-contracts-16ea0348a9776c99bf50013fca65deb2ba2d698e.zip |
Fix linter errors
Diffstat (limited to 'packages/website/ts/components/top_bar')
3 files changed, 2 insertions, 15 deletions
diff --git a/packages/website/ts/components/top_bar/provider_display.tsx b/packages/website/ts/components/top_bar/provider_display.tsx index e132f9cee..39e7f2a8c 100644 --- a/packages/website/ts/components/top_bar/provider_display.tsx +++ b/packages/website/ts/components/top_bar/provider_display.tsx @@ -1,10 +1,6 @@ import * as _ from 'lodash'; -import Menu from 'material-ui/Menu'; -import MenuItem from 'material-ui/MenuItem'; -import { RadioButton, RadioButtonGroup } from 'material-ui/RadioButton'; import RaisedButton from 'material-ui/RaisedButton'; import * as React from 'react'; -import { Link } from 'react-router-dom'; import { Blockchain } from 'ts/blockchain'; import { ProviderPicker } from 'ts/components/top_bar/provider_picker'; import { DropDown } from 'ts/components/ui/drop_down'; diff --git a/packages/website/ts/components/top_bar/provider_picker.tsx b/packages/website/ts/components/top_bar/provider_picker.tsx index 98678dee6..be7e57d6f 100644 --- a/packages/website/ts/components/top_bar/provider_picker.tsx +++ b/packages/website/ts/components/top_bar/provider_picker.tsx @@ -1,19 +1,11 @@ import * as _ from 'lodash'; -import Menu from 'material-ui/Menu'; -import MenuItem from 'material-ui/MenuItem'; import { RadioButton, RadioButtonGroup } from 'material-ui/RadioButton'; import * as React from 'react'; -import { Link } from 'react-router-dom'; import { Blockchain } from 'ts/blockchain'; -import { DropDown } from 'ts/components/ui/drop_down'; -import { Identicon } from 'ts/components/ui/identicon'; import { Dispatcher } from 'ts/redux/dispatcher'; import { ProviderType } from 'ts/types'; import { colors } from 'ts/utils/colors'; import { constants } from 'ts/utils/constants'; -import { utils } from 'ts/utils/utils'; - -const IDENTICON_DIAMETER = 32; interface ProviderPickerProps { networkId: number; diff --git a/packages/website/ts/components/top_bar/top_bar.tsx b/packages/website/ts/components/top_bar/top_bar.tsx index 652da5435..1a0691e83 100644 --- a/packages/website/ts/components/top_bar/top_bar.tsx +++ b/packages/website/ts/components/top_bar/top_bar.tsx @@ -14,9 +14,8 @@ import { Identicon } from 'ts/components/ui/identicon'; import { DocsInfo } from 'ts/pages/documentation/docs_info'; import { NestedSidebarMenu } from 'ts/pages/shared/nested_sidebar_menu'; import { Dispatcher } from 'ts/redux/dispatcher'; -import { DocsMenu, MenuSubsectionsBySection, ProviderType, Styles, TypeDocNode, WebsitePaths } from 'ts/types'; +import { DocsMenu, MenuSubsectionsBySection, ProviderType, Styles, WebsitePaths } from 'ts/types'; import { colors } from 'ts/utils/colors'; -import { configs } from 'ts/utils/configs'; import { constants } from 'ts/utils/constants'; interface TopBarProps { @@ -189,7 +188,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> { </div> )} {this.props.blockchainIsLoaded && ( - <div className="col col-5"> + <div className="sm-hide xs-hide col col-5"> <ProviderDisplay dispatcher={this.props.dispatcher} userAddress={this.props.userAddress} |