fix: ssr crash
This commit is contained in:
1 parent
97b6a592d6
commit
dd07caf5c4
4 files changed
+15
-14
No files matched your search
@@ -30,7 +30,7 @@
|
||||
}: Props = $props()
|
||||
|
||||
let isSelected = $derived(isSelectedFilter(page.url.pathname))
|
||||
let isPanel = $derived(adaptive ? $dockProps.noGap : false)
|
||||
let isPanel = $derived(adaptive ? $dockProps?.noGap : false)
|
||||
</script>
|
||||
|
||||
<Button
|
||||
|
||||
@@ -25,11 +25,12 @@
|
||||
import { LINKED_INSTANCE_URL } from '$lib/instance'
|
||||
import { t } from '$lib/translations'
|
||||
import CommandsWrapper from './commands/CommandsWrapper.svelte'
|
||||
import type { ClassValue } from 'svelte/elements'
|
||||
|
||||
let promptOpen: boolean = $state(false)
|
||||
interface Props {
|
||||
style?: string
|
||||
class?: string
|
||||
class?: ClassValue
|
||||
}
|
||||
|
||||
let { style = '', class: clazz = '' }: Props = $props()
|
||||
|
||||
Reference in new issue
Block a user