Skip to content

Commit

Permalink
Remove unnecessary concat []
Browse files Browse the repository at this point in the history
  • Loading branch information
espressoroaster committed Sep 29, 2017
1 parent 81e99ef commit 1c5b259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/data-pane/wildcard-field-drop-zone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const customWildcardFieldTarget: DropTargetSpec<CustomWildcardFieldDropZoneProps
fields = schema.fieldNames()
.filter(field => schema.vlType(field) === type);
} else {
fields = fieldDef.field.enum.concat([]);
fields = fieldDef.field.enum;
}
} else {
fields = [fieldDef.field];
Expand Down

0 comments on commit 1c5b259

Please sign in to comment.