17782: Further imports fixing.
[arvados-workbench2.git] / src / store / open-in-new-tab / open-in-new-tab.actions.ts
index c6462ea139f1ed7d53a463c37164d39ff3cc3c00..94aec140d64f2bc0b7a906465244ea29f3c3e6b6 100644 (file)
@@ -2,12 +2,12 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as copy from 'copy-to-clipboard';
-import { ResourceKind } from '~/models/resource';
-import { getClipboardUrl } from '~/views-components/context-menu/actions/helpers';
+import copy from 'copy-to-clipboard';
+import { ResourceKind } from 'models/resource';
+import { getClipboardUrl } from 'views-components/context-menu/actions/helpers';
 
 const getUrl = (resource: any) => {
-    let url = null;
+    let url: string | null = null;
     const { uuid, kind } = resource;
 
     if (kind === ResourceKind.COLLECTION) {