X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bfaee40696c3c15556ef089e69da47bb832b08db..0b569ee693ece680309ac9c114e975c9cb3e7f64:/services/workbench2/src/store/tree-picker/picker-id.tsx

diff --git a/services/workbench2/src/store/tree-picker/picker-id.tsx b/services/workbench2/src/store/tree-picker/picker-id.tsx
index b0d5e353ef..5734ad70c6 100644
--- a/services/workbench2/src/store/tree-picker/picker-id.tsx
+++ b/services/workbench2/src/store/tree-picker/picker-id.tsx
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import React from 'react';
+import React from "react";
 
 export interface PickerIdProp {
     pickerId: string;
@@ -10,7 +10,12 @@ export interface PickerIdProp {
 
 export const pickerId =
     (id: string) =>
-        <P extends PickerIdProp>(Component: React.ComponentType<P>) =>
-            (props: P) =>
-                <Component {...props} pickerId={id} />;
-                
\ No newline at end of file
+    <P extends PickerIdProp>(Component: React.ComponentType<P>) =>
+    (props: P) => {
+        return (
+            <Component
+                {...props}
+                pickerId={id}
+            />
+        );
+    };
