15768: cleanup Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
authorLisa Knox <lisaknox83@gmail.com>
Wed, 4 Oct 2023 17:31:51 +0000 (13:31 -0400)
committerLisa Knox <lisaknox83@gmail.com>
Wed, 4 Oct 2023 17:31:51 +0000 (13:31 -0400)
src/components/data-table-multiselect-popover/data-table-multiselect-popover.tsx
src/store/collections/collection-copy-actions.ts

index 08ff6b02c7be4f6db6a487fbb18d0cd63248df88..0248c8267d9201455d7c558d3815ac5a4b2eaf81 100644 (file)
@@ -2,11 +2,10 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import React, { useEffect } from "react";
+import React from "react";
 import { WithStyles, withStyles, ButtonBase, StyleRulesCallback, Theme, Popover, Card, Tooltip, IconButton } from "@material-ui/core";
 import classnames from "classnames";
 import { DefaultTransformOrigin } from "components/popover/helpers";
-import debounce from "lodash/debounce";
 import { grey } from "@material-ui/core/colors";
 import { TCheckedList } from "components/data-table/data-table";
 
index 1323ebc3e5d0558aefa0b1c03e7b3df0282d35b3..f2f5569a4bec648d35412a696cae6b14d8bb4402 100644 (file)
@@ -65,7 +65,6 @@ export const copyCollection =
                         ownerUuid: "A collection with the same name already exists in the target project.",
                     } as FormErrors)
                 );
-                throw new Error("Could not copy the collection.");
             } else {
                 dispatch(dialogActions.CLOSE_DIALOG({ id: formName }));
                 throw new Error("Could not copy the collection.");