diff options
| -rw-r--r-- | src/routes/(app)/fund/[id]/+page.svelte | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/routes/(app)/fund/[id]/+page.svelte b/src/routes/(app)/fund/[id]/+page.svelte index 14586701..fc3e9bc8 100644 --- a/src/routes/(app)/fund/[id]/+page.svelte +++ b/src/routes/(app)/fund/[id]/+page.svelte @@ -15,9 +15,8 @@ import { t } from "$lib/translations"; import { copy, sats, loc, post } from "$lib/utils"; import { loginRedirect } from "$lib/store"; - import { registerPlugin } from "@capacitor/core"; - const Hce = (window as any).Capacitor ? registerPlugin("Hce") : null; + const Hce = (window as any).Capacitor?.registerPlugin?.("Hce"); let { data }: any = $props(); |
