From b1c1a08d77c1866a46adf3a12ad24711288e0fae Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Tue, 7 May 2024 14:45:28 +0100 Subject: [PATCH] Remove async --- client/src/lib/components/CaptchaV2.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/lib/components/CaptchaV2.svelte b/client/src/lib/components/CaptchaV2.svelte index 495c97d4..b47c2afc 100644 --- a/client/src/lib/components/CaptchaV2.svelte +++ b/client/src/lib/components/CaptchaV2.svelte @@ -14,7 +14,7 @@ let componentMounted: boolean; onMount(() => { - window.captchaLoaded = async () => { + window.captchaLoaded = () => { const colorTheme = theme === "auto" ? window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches