There was an error while loading. Please reload this page.
1 parent 79e075c commit 189dd88Copy full SHA for 189dd88
1 file changed
ui/src/lib/components/CopyableUrl.svelte
@@ -2,7 +2,7 @@
2
import { page } from '$app/stores'
3
import { Button } from 'flowbite-svelte'
4
5
- $: currentUrl = $page.url.href
+ $: currentUrl = $page?.url?.href ?? ''
6
let copied = false
7
let copyTimeout: ReturnType<typeof setTimeout>
8
0 commit comments