Skip to content

Commit 7710082

Browse files
authored
fix(accordion): remove unintended clipboard copy on open (#234)
1 parent ded8eaf commit 7710082

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

packages/components/src/components/accordion/accordion-url-utils.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import isEqual from "lodash/isEqual";
2-
import { copyToClipboard } from "@/utils/copy-to-clipboard";
32

43
const CONNECTING_CHARACTER = ":";
54

@@ -42,8 +41,6 @@ const updateAndCopyUrl = () => {
4241
const idsString = ids.join(CONNECTING_CHARACTER);
4342
const newUrl = buildHistoryUrl(idsString);
4443

45-
copyToClipboard(newUrl);
46-
4744
window.history.replaceState(
4845
{ ...window.history.state, as: newUrl, url: newUrl },
4946
"",

0 commit comments

Comments
 (0)