cleanup: remove routes object
This commit is contained in:
1 parent
ddaa34dee3
commit
b883b5f6e0
9 files changed
+19
-48
No files matched your search
@@ -3,8 +3,9 @@
|
||||
import { Button } from 'mono-svelte'
|
||||
import { Icon, type IconSource } from 'svelte-hero-icons'
|
||||
import { dockProps } from '../layout/Shell.svelte'
|
||||
import type { ButtonProps } from 'mono-svelte/button/Button.svelte'
|
||||
|
||||
interface Props {
|
||||
interface Props extends ButtonProps {
|
||||
label: string
|
||||
icon?: IconSource | undefined
|
||||
href?: string | undefined
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
import { LINKED_INSTANCE_URL } from '$lib/instance'
|
||||
import { t } from '$lib/translations'
|
||||
import CommandsWrapper from './commands/CommandsWrapper.svelte'
|
||||
import { optimizeImageURL } from '$lib/components/lemmy/post/helpers'
|
||||
import { dockProps } from '../layout/Shell.svelte'
|
||||
|
||||
let promptOpen: boolean = $state(false)
|
||||
interface Props {
|
||||
|
||||
@@ -223,9 +223,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
afterNavigate(() => {
|
||||
// open = false
|
||||
})
|
||||
$effect(() => {
|
||||
if (open) search = ''
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user