diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-13 23:32:36 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-13 23:32:36 +0800 |
commit | 6f77b90836be13d5b7c425a1ac4e8c9f46bd8790 (patch) | |
tree | a44e473170bef4cbef58a464b1f80c0d5ae1fccf | |
parent | 2b2f5d6169b906e58691ad722099f8b677ff9080 (diff) | |
download | dexon-sol-tools-6f77b90836be13d5b7c425a1ac4e8c9f46bd8790.tar.gz dexon-sol-tools-6f77b90836be13d5b7c425a1ac4e8c9f46bd8790.tar.zst dexon-sol-tools-6f77b90836be13d5b7c425a1ac4e8c9f46bd8790.zip |
Chore: remove unused imports
-rw-r--r-- | packages/website/ts/components/documentation/version_drop_down.tsx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/packages/website/ts/components/documentation/version_drop_down.tsx b/packages/website/ts/components/documentation/version_drop_down.tsx index 8374e79e2..092572330 100644 --- a/packages/website/ts/components/documentation/version_drop_down.tsx +++ b/packages/website/ts/components/documentation/version_drop_down.tsx @@ -1,4 +1,4 @@ -import { ALink, colors, Link } from '@0xproject/react-shared'; +import { colors } from '@0xproject/react-shared'; import * as _ from 'lodash'; import * as React from 'react'; import { Button } from 'ts/components/ui/button'; @@ -6,9 +6,6 @@ import { Container } from 'ts/components/ui/container'; import { DropDown, DropdownMouseEvent } from 'ts/components/ui/drop_down'; import { Text } from 'ts/components/ui/text'; import { styled } from 'ts/style/theme'; -import { Deco, Key, WebsitePaths } from 'ts/types'; -import { constants } from 'ts/utils/constants'; -import { Translate } from 'ts/utils/translate'; interface ActiveNodeProps { className?: string; @@ -51,8 +48,8 @@ export class VersionDropDown extends React.Component<VersionDropDownProps, Versi activateEvent={DropdownMouseEvent.Click} activeNode={activeNode} popoverContent={this._renderDropdownMenu()} - anchorOrigin={{ horizontal: 'left', vertical: 'bottom' }} - targetOrigin={{ horizontal: 'left', vertical: 'top' }} + anchorOrigin={{ horizontal: 'middle', vertical: 'bottom' }} + targetOrigin={{ horizontal: 'middle', vertical: 'top' }} popoverStyle={{ borderRadius: 4 }} /> ); |