From 5400d06887d6cd2b61142a64b090cdffff3d1fc5 Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 12 Mar 2024 16:45:01 +0100 Subject: [PATCH] chore: remove throw --- frontend/src/ts/modals/share-custom-theme.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/ts/modals/share-custom-theme.ts b/frontend/src/ts/modals/share-custom-theme.ts index f4d0d8470..340f42c4a 100644 --- a/frontend/src/ts/modals/share-custom-theme.ts +++ b/frontend/src/ts/modals/share-custom-theme.ts @@ -51,7 +51,6 @@ async function copy(): Promise { const url = await generateUrl(); try { - throw "a"; await navigator.clipboard.writeText(url); Notifications.add("URL Copied to clipboard", 1); void modal.hide();