aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs-example
diff options
context:
space:
mode:
Diffstat (limited to 'packages/react-docs-example')
-rw-r--r--packages/react-docs-example/package.json2
-rw-r--r--packages/react-docs-example/ts/docs.tsx4
2 files changed, 1 insertions, 5 deletions
diff --git a/packages/react-docs-example/package.json b/packages/react-docs-example/package.json
index a0538b933..76e780c44 100644
--- a/packages/react-docs-example/package.json
+++ b/packages/react-docs-example/package.json
@@ -10,7 +10,7 @@
"lint": "tslint --project .",
"build": "tsc",
"build:example": "NODE_ENV=production webpack",
- "watch": "tsc -w",
+ "watch_without_deps": "tsc -w",
"clean": "shx rm -rf lib; shx rm -f public/bundle*",
"dev": "webpack-dev-server --open",
"deploy_example": "npm run build:example; aws s3 sync ./public/. s3://react-docs-example --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers"
diff --git a/packages/react-docs-example/ts/docs.tsx b/packages/react-docs-example/ts/docs.tsx
index b35e9a629..b70de1257 100644
--- a/packages/react-docs-example/ts/docs.tsx
+++ b/packages/react-docs-example/ts/docs.tsx
@@ -1,4 +1,3 @@
-import * as _ from 'lodash';
import * as React from 'react';
import {
@@ -95,9 +94,6 @@ export class Docs extends React.Component<DocsProps, DocsState> {
};
}
public render(): React.ReactNode {
- const menuSubsectionsBySection = _.isUndefined(this.state.docAgnosticFormat)
- ? {}
- : docsInfo.getMenuSubsectionsBySection(this.state.docAgnosticFormat);
return (
<Documentation
selectedVersion={this.state.selectedVersion}