aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/pages/documentation
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-02-26 23:57:41 +0800
committerFabio Berger <me@fabioberger.com>2018-02-26 23:57:41 +0800
commit7dd9ce2e3280b8e4e911cf797267db4619dbcae3 (patch)
tree6b8cbd9e97c3631a1dde3fca31e4f166d6d5a644 /packages/website/ts/pages/documentation
parentfffaafe4c996ac0c458dd6cb9e3598b1d93b7aa4 (diff)
downloaddexon-sol-tools-7dd9ce2e3280b8e4e911cf797267db4619dbcae3.tar
dexon-sol-tools-7dd9ce2e3280b8e4e911cf797267db4619dbcae3.tar.gz
dexon-sol-tools-7dd9ce2e3280b8e4e911cf797267db4619dbcae3.tar.bz2
dexon-sol-tools-7dd9ce2e3280b8e4e911cf797267db4619dbcae3.tar.lz
dexon-sol-tools-7dd9ce2e3280b8e4e911cf797267db4619dbcae3.tar.xz
dexon-sol-tools-7dd9ce2e3280b8e4e911cf797267db4619dbcae3.tar.zst
dexon-sol-tools-7dd9ce2e3280b8e4e911cf797267db4619dbcae3.zip
Remove unused props
Diffstat (limited to 'packages/website/ts/pages/documentation')
-rw-r--r--packages/website/ts/pages/documentation/doc_page.tsx2
-rw-r--r--packages/website/ts/pages/documentation/documentation.tsx4
2 files changed, 0 insertions, 6 deletions
diff --git a/packages/website/ts/pages/documentation/doc_page.tsx b/packages/website/ts/pages/documentation/doc_page.tsx
index 7d81ca1d5..2b77bb2be 100644
--- a/packages/website/ts/pages/documentation/doc_page.tsx
+++ b/packages/website/ts/pages/documentation/doc_page.tsx
@@ -64,11 +64,9 @@ export class DocPage extends React.Component<DocPageProps, DocPageState> {
/>
<Documentation
location={this.props.location}
- dispatcher={this.props.dispatcher}
docsVersion={this.props.docsVersion}
availableDocVersions={this.props.availableDocVersions}
docsInfo={this.props.docsInfo}
- translate={this.props.translate}
docAgnosticFormat={this.state.docAgnosticFormat}
menuSubsectionsBySection={menuSubsectionsBySection}
/>
diff --git a/packages/website/ts/pages/documentation/documentation.tsx b/packages/website/ts/pages/documentation/documentation.tsx
index 17cb41069..74d5afb54 100644
--- a/packages/website/ts/pages/documentation/documentation.tsx
+++ b/packages/website/ts/pages/documentation/documentation.tsx
@@ -13,7 +13,6 @@ import { TypeDefinition } from 'ts/pages/documentation/type_definition';
import { MarkdownSection } from 'ts/pages/shared/markdown_section';
import { NestedSidebarMenu } from 'ts/pages/shared/nested_sidebar_menu';
import { SectionHeader } from 'ts/pages/shared/section_header';
-import { Dispatcher } from 'ts/redux/dispatcher';
import {
AddressByContractName,
DocAgnosticFormat,
@@ -31,7 +30,6 @@ import {
import { colors } from 'ts/utils/colors';
import { configs } from 'ts/utils/configs';
import { constants } from 'ts/utils/constants';
-import { Translate } from 'ts/utils/translate';
import { utils } from 'ts/utils/utils';
const TOP_BAR_HEIGHT = 60;
@@ -46,11 +44,9 @@ const networkNameToColor: { [network: string]: string } = {
export interface DocumentationProps {
location: Location;
- dispatcher: Dispatcher;
docsVersion: string;
availableDocVersions: string[];
docsInfo: DocsInfo;
- translate: Translate;
docAgnosticFormat?: DocAgnosticFormat;
menuSubsectionsBySection: MenuSubsectionsBySection;
}