diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-15 01:52:38 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-15 01:52:38 +0800 |
commit | 84321c41f346f11380d49d2b5d882022816abd43 (patch) | |
tree | eb14f9f193c2c032d20cdfc028307bf5cc810ad5 /packages/website | |
parent | f9dfecaf132b67eb041b1089fa50e38767c1ae47 (diff) | |
download | dexon-sol-tools-84321c41f346f11380d49d2b5d882022816abd43.tar.gz 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.tsx | 16 |
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 |