bump: svelte -> 5.34.8 (#600)
* bump: svelte -> 5.34.8 * fix: unfreeze lockfile * fix: add svelte override
This commit is contained in:
1 parent
de3ca92544
commit
b98b902c7a
11 files changed
+18
-27
No files matched your search
@@ -20,6 +20,7 @@
|
||||
placeholder?: string | undefined
|
||||
value?: string
|
||||
actions?: boolean
|
||||
tools?: boolean
|
||||
preview?: boolean
|
||||
class?: ClassValue
|
||||
required?: boolean
|
||||
|
||||
@@ -104,8 +104,8 @@
|
||||
<ul>
|
||||
{#each nodes as node, index (node.comment_view.comment.id)}
|
||||
<Comment
|
||||
bind:node={nodes[index]}
|
||||
postId={post.id}
|
||||
node={nodes[index]}
|
||||
op={post.creator_id == node.comment_view.creator.id}
|
||||
contentClass="{node.children.length > 0 ||
|
||||
node.comment_view.counts.child_count > 0
|
||||
@@ -114,7 +114,7 @@
|
||||
bind:open={nodes[index].expanded}
|
||||
>
|
||||
{#if node.children?.length > 0}
|
||||
<Comments {post} nodes={nodes[index].children} isParent={false} />
|
||||
<Comments {post} bind:nodes={nodes[index].children} isParent={false} />
|
||||
{/if}
|
||||
</Comment>
|
||||
{#if node.comment_view.counts.child_count > 0 && node.children.length == 0}
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
}
|
||||
|
||||
let {
|
||||
post: passedPost = $bindable(),
|
||||
post = $bindable(),
|
||||
actions = true,
|
||||
hideCommunity = false,
|
||||
view = settings.view,
|
||||
@@ -59,11 +59,6 @@
|
||||
onhide,
|
||||
}: Props = $props()
|
||||
|
||||
let post = $state(passedPost)
|
||||
$effect(() => {
|
||||
passedPost = post
|
||||
})
|
||||
|
||||
let tags = $derived(parseTags(post.post.name))
|
||||
let type = $derived(mediaType(post.post.url))
|
||||
let rule = $derived(getTagRule(tags.tags))
|
||||
|
||||
Reference in new issue
Block a user