fix: Fix lint errors (#559)
* cleanup: postactions styling * misc: fix first round of errors * pkg: remove vitest * fix: fix lint errors stage 2 * fix: fix lint errors stage 3 * fix: fix lint errors, stage 3 * misc: update eslint rules to warn for writable derived
This commit is contained in:
1 parent
1824245f13
commit
76c581123a
225 files changed
+1553
-2352
No files matched your search
@@ -1,31 +1,22 @@
|
||||
<script lang="ts">
|
||||
import Link, { parseURL } from '$lib/components/input/Link.svelte'
|
||||
import { Button, Material } from 'mono-svelte'
|
||||
import {
|
||||
CheckBadge,
|
||||
ChevronDown,
|
||||
Icon,
|
||||
Link as LinkIcon,
|
||||
} from 'svelte-hero-icons'
|
||||
import { optimizeImageURL } from '../helpers'
|
||||
import { t } from '$lib/i18n/translations'
|
||||
import { parseURL } from '$lib/components/input/Link.svelte'
|
||||
import type { View } from '$lib/settings.svelte'
|
||||
import { Button, Material } from 'mono-svelte'
|
||||
import { optimizeImageURL } from '../helpers'
|
||||
|
||||
interface Props {
|
||||
url: string
|
||||
thumbnail_url?: string | undefined
|
||||
thumbnail_url?: string
|
||||
nsfw?: boolean
|
||||
embed_title?: string | undefined
|
||||
embed_description?: string | undefined
|
||||
embed_title?: string
|
||||
view?: View
|
||||
}
|
||||
|
||||
let {
|
||||
url,
|
||||
thumbnail_url = undefined,
|
||||
thumbnail_url,
|
||||
nsfw = false,
|
||||
embed_title = undefined,
|
||||
embed_description = undefined,
|
||||
embed_title,
|
||||
view = 'cozy',
|
||||
}: Props = $props()
|
||||
|
||||
|
||||
Reference in new issue
Block a user