aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-13 23:32:36 +0800
committerFabio Berger <me@fabioberger.com>2018-10-13 23:32:36 +0800
commit6f77b90836be13d5b7c425a1ac4e8c9f46bd8790 (patch)
treea44e473170bef4cbef58a464b1f80c0d5ae1fccf /packages/website
parent2b2f5d6169b906e58691ad722099f8b677ff9080 (diff)
downloaddexon-sol-tools-6f77b90836be13d5b7c425a1ac4e8c9f46bd8790.tar
dexon-sol-tools-6f77b90836be13d5b7c425a1ac4e8c9f46bd8790.tar.gz
dexon-sol-tools-6f77b90836be13d5b7c425a1ac4e8c9f46bd8790.tar.bz2
dexon-sol-tools-6f77b90836be13d5b7c425a1ac4e8c9f46bd8790.tar.lz
dexon-sol-tools-6f77b90836be13d5b7c425a1ac4e8c9f46bd8790.tar.xz
dexon-sol-tools-6f77b90836be13d5b7c425a1ac4e8c9f46bd8790.tar.zst
dexon-sol-tools-6f77b90836be13d5b7c425a1ac4e8c9f46bd8790.zip
Chore: remove unused imports
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/components/documentation/version_drop_down.tsx9
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 }}
/>
);