X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/9ec2e259bd565aea710cdae34d8cba433b09a749..180c2c37b635cbb7a33257d2ee9b4395553ce5e7:/src/components/details-panel-factory/items/empty-item.tsx?ds=inline

diff --git a/src/components/details-panel-factory/items/empty-item.tsx b/src/components/details-panel-factory/items/empty-item.tsx
index 356ccc2c..b9a48723 100644
--- a/src/components/details-panel-factory/items/empty-item.tsx
+++ b/src/components/details-panel-factory/items/empty-item.tsx
@@ -4,18 +4,18 @@
 
 import * as React from 'react';
 import { DefaultIcon, ProjectsIcon } from '../../icon/icon';
-import AbstractItem from './abstract-item';
-import EmptyState from '../../empty-state/empty-state';
+import { AbstractItem } from './abstract-item';
+import { EmptyState } from '../../empty-state/empty-state';
 import { EmptyResource } from '../../../models/empty';
 
-export default class EmptyItem extends AbstractItem<EmptyResource> {
-    
-    getIcon(className?: string): React.ReactElement<any> {
-        return ProjectsIcon(className);
+export class EmptyItem extends AbstractItem<EmptyResource> {
+
+    getIcon(className?: string) {
+        return <ProjectsIcon className={className} />;
     }
 
-    buildDetails(): React.ReactElement<any> {
+    buildDetails() {
         return <EmptyState icon={DefaultIcon}
             message='Select a file or folder to view its details.' />;
     }
-}
\ No newline at end of file
+}
