aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-15 01:52:38 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-12-15 01:52:38 +0800
commit84321c41f346f11380d49d2b5d882022816abd43 (patch)
treeeb14f9f193c2c032d20cdfc028307bf5cc810ad5 /packages/website
parentf9dfecaf132b67eb041b1089fa50e38767c1ae47 (diff)
downloaddexon-sol-tools-84321c41f346f11380d49d2b5d882022816abd43.tar
dexon-sol-tools-84321c41f346f11380d49d2b5d882022816abd43.tar.gz
dexon-sol-tools-84321c41f346f11380d49d2b5d882022816abd43.tar.bz2
dexon-sol-tools-84321c41f346f11380d49d2b5d882022816abd43.tar.lz
dexon-sol-tools-84321c41f346f11380d49d2b5d882022816abd43.tar.xz
dexon-sol-tools-84321c41f346f11380d49d2b5d882022816abd43.tar.zst
dexon-sol-tools-84321c41f346f11380d49d2b5d882022816abd43.zip
Cleanup configurator
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/@next/pages/instant/configurator.tsx16
1 files changed, 5 insertions, 11 deletions
diff --git a/packages/website/ts/@next/pages/instant/configurator.tsx b/packages/website/ts/@next/pages/instant/configurator.tsx
index ac7133cf6..15c9ba2ca 100644
--- a/packages/website/ts/@next/pages/instant/configurator.tsx
+++ b/packages/website/ts/@next/pages/instant/configurator.tsx
@@ -2,26 +2,21 @@ import * as _ from 'lodash';
import * as React from 'react';
import styled from 'styled-components';
-import { colors } from 'ts/style/colors';
-
import { CodeDemo } from 'ts/@next/pages/instant/code_demo';
import { ConfigGenerator } from 'ts/@next/pages/instant/config_generator';
-import { Column, FlexWrap, Section } from 'ts/@next/components/newLayout';
-import { Heading, Paragraph } from 'ts/@next/components/text';
-import { WebsitePaths } from 'ts/types';
+
import { Link } from 'ts/@next/components/link';
+import { Column, FlexWrap } from 'ts/@next/components/newLayout';
+import { Heading } from 'ts/@next/components/text';
+import { WebsitePaths } from 'ts/types';
import { ZeroExInstantBaseConfig } from '../../../../../instant/src/types';
-export interface ConfiguratorProps {
- hash: string;
-}
-
export interface ConfiguratorState {
instantConfig: ZeroExInstantBaseConfig;
}
-export class Configurator extends React.Component<ConfiguratorProps> {
+export class Configurator extends React.Component {
public state: ConfiguratorState = {
instantConfig: {
orderSource: 'https://api.radarrelay.com/0x/v2/',
@@ -33,7 +28,6 @@ export class Configurator extends React.Component<ConfiguratorProps> {
},
};
public render(): React.ReactNode {
- const { hash } = this.props;
const codeToDisplay = this._generateCodeDemoCode();
return (
<FlexWrap