feat: Fix commenting issue

This commit is contained in:
Xyphyn committed 2023-07-05 14:36:17 -07:00
1 parent d9812b17bd
commit dd30acf19d
5 files changed
+16 -6

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@
<svelte:head>Login</svelte:head>
<Card class="mx-auto p-6">
<Card class="mx-auto p-6 max-w-lg">
<form on:submit|preventDefault={logIn} class="flex flex-col gap-4">
<h1 class="font-bold text-lg">Log in</h1>
<TextInput
+4 -1
View File
@@ -157,7 +157,10 @@
<CommentForm
postId={post.id}
on:comment={(comment) =>
(comments.comments = [...comment.detail, comments.comments])}
(comments.comments = [
comment.detail.comment_view,
...comments.comments,
])}
/>
{/if}
<MultiSelect
-1
View File
@@ -15,7 +15,6 @@
Icon,
PencilSquare,
} from 'svelte-hero-icons'
import SvelteMarkdown from 'svelte-markdown'
export let data: {
user: GetPersonDetailsResponse