Skip to content

Commit 1c5b259

Browse files
Remove unnecessary concat []
1 parent 81e99ef commit 1c5b259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/data-pane/wildcard-field-drop-zone.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const customWildcardFieldTarget: DropTargetSpec<CustomWildcardFieldDropZoneProps
6666
fields = schema.fieldNames()
6767
.filter(field => schema.vlType(field) === type);
6868
} else {
69-
fields = fieldDef.field.enum.concat([]);
69+
fields = fieldDef.field.enum;
7070
}
7171
} else {
7272
fields = [fieldDef.field];

0 commit comments

Comments
 (0)