aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/components/enum.tsx
diff options
context:
space:
mode:
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},`;
});