diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 22:19:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-15 22:19:19 +0800 |
commit | 2041e9945edf6f5255185de73c0dc332270e4bbb (patch) | |
tree | 2e8224bc00217b03887650116dc37f55440b4fdc /packages/website/ts/pages/about | |
parent | 126048bac9f52871b841d9898cabe7cfd265ebb6 (diff) | |
download | dexon-sol-tools-2041e9945edf6f5255185de73c0dc332270e4bbb.tar dexon-sol-tools-2041e9945edf6f5255185de73c0dc332270e4bbb.tar.gz dexon-sol-tools-2041e9945edf6f5255185de73c0dc332270e4bbb.tar.bz2 dexon-sol-tools-2041e9945edf6f5255185de73c0dc332270e4bbb.tar.lz dexon-sol-tools-2041e9945edf6f5255185de73c0dc332270e4bbb.tar.xz dexon-sol-tools-2041e9945edf6f5255185de73c0dc332270e4bbb.tar.zst dexon-sol-tools-2041e9945edf6f5255185de73c0dc332270e4bbb.zip |
Fix website unused vars
Diffstat (limited to 'packages/website/ts/pages/about')
-rw-r--r-- | packages/website/ts/pages/about/about.tsx | 6 | ||||
-rw-r--r-- | packages/website/ts/pages/about/profile.tsx | 3 |
2 files changed, 1 insertions, 8 deletions
diff --git a/packages/website/ts/pages/about/about.tsx b/packages/website/ts/pages/about/about.tsx index 3af05e8a4..011bbb9d9 100644 --- a/packages/website/ts/pages/about/about.tsx +++ b/packages/website/ts/pages/about/about.tsx @@ -1,15 +1,11 @@ import * as _ from 'lodash'; -import RaisedButton from 'material-ui/RaisedButton'; import {colors} from 'material-ui/styles'; import * as React from 'react'; import * as DocumentTitle from 'react-document-title'; -import {Link} from 'react-router-dom'; import {Footer} from 'ts/components/footer'; import {TopBar} from 'ts/components/top_bar'; import {Profile} from 'ts/pages/about/profile'; -import {Question} from 'ts/pages/faq/question'; import {ProfileInfo, Styles} from 'ts/types'; -import {configs} from 'ts/utils/configs'; import {constants} from 'ts/utils/constants'; import {utils} from 'ts/utils/utils'; @@ -236,7 +232,7 @@ export class About extends React.Component<AboutProps, AboutState> { } private renderProfiles(profiles: ProfileInfo[]) { const numIndiv = profiles.length; - const colSize = utils.getColSize(profiles.length); + const colSize = utils.getColSize(numIndiv); return _.map(profiles, profile => { return ( <div diff --git a/packages/website/ts/pages/about/profile.tsx b/packages/website/ts/pages/about/profile.tsx index 71dbd09b5..86aa788b2 100644 --- a/packages/website/ts/pages/about/profile.tsx +++ b/packages/website/ts/pages/about/profile.tsx @@ -1,9 +1,6 @@ import * as _ from 'lodash'; -import {colors} from 'material-ui/styles'; import * as React from 'react'; -import {Element as ScrollElement} from 'react-scroll'; import {ProfileInfo, Styles} from 'ts/types'; -import {utils} from 'ts/utils/utils'; const IMAGE_DIMENSION = 149; const styles: Styles = { |