aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/components/enum.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-12 05:42:30 +0800
committerFabio Berger <me@fabioberger.com>2018-06-12 05:42:30 +0800
commite1879ef4d91fc58203d9748eca38695b79c43674 (patch)
tree0a9a68927d5dc769b0c5cb2c5d9445849fb56e7c /packages/react-docs/src/components/enum.tsx
parentb6df727efb74084a849330273a44cfc5ae3a85af (diff)
downloaddexon-0x-contracts-e1879ef4d91fc58203d9748eca38695b79c43674.tar.gz
dexon-0x-contracts-e1879ef4d91fc58203d9748eca38695b79c43674.tar.zst
dexon-0x-contracts-e1879ef4d91fc58203d9748eca38695b79c43674.zip
Fix no-unused-variable tslint rule to include parameters and fix issues
Diffstat (limited to 'packages/react-docs/src/components/enum.tsx')
-rw-r--r--packages/react-docs/src/components/enum.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/react-docs/src/components/enum.tsx b/packages/react-docs/src/components/enum.tsx
index 536385d90..dee866790 100644
--- a/packages/react-docs/src/components/enum.tsx
+++ b/packages/react-docs/src/components/enum.tsx
@@ -8,7 +8,7 @@ export interface EnumProps {
}
export const Enum = (props: EnumProps) => {
- const values = _.map(props.values, (value, i) => {
+ const values = _.map(props.values, value => {
const defaultValueIfAny = !_.isUndefined(value.defaultValue) ? ` = ${value.defaultValue}` : '';
return `\n\t${value.name}${defaultValueIfAny},`;
});