Merge branch '20031-collection-files-batch-operations' into main. Closes #20031
[arvados-workbench2.git] / src / views-components / dialog-copy / dialog-copy.tsx
index 97fe52bb67e30dde347a25c16529845e6fd44121..a3e301195493be96d99b9b0c3c96648b2b6828e8 100644 (file)
@@ -25,10 +25,10 @@ export const DialogCopy = (props: CopyFormDialogProps & PickerIdProp) =>
 
 const CopyDialogFields = memoize((pickerId: string) =>
     () =>
-        <span>
+        <>
             <Field
                 name='name'
-                component={TextField}
+                component={TextField as any}
                 validate={COPY_NAME_VALIDATION}
                 label="Enter a new name for the copy" />
             <Field
@@ -36,4 +36,4 @@ const CopyDialogFields = memoize((pickerId: string) =>
                 component={ProjectTreePickerField}
                 validate={COPY_FILE_VALIDATION}
                 pickerId={pickerId}/>
-        </span>);
+        </>);