summaryrefslogtreecommitdiff
path: root/ui/lib/components
diff options
context:
space:
mode:
Diffstat (limited to 'ui/lib/components')
-rw-r--r--ui/lib/components/CreateChannelForm.svelte2
-rw-r--r--ui/lib/components/Message.svelte1
2 files changed, 2 insertions, 1 deletions
diff --git a/ui/lib/components/CreateChannelForm.svelte b/ui/lib/components/CreateChannelForm.svelte
index 6b50fb1..6eee5db 100644
--- a/ui/lib/components/CreateChannelForm.svelte
+++ b/ui/lib/components/CreateChannelForm.svelte
@@ -5,7 +5,7 @@
let pending = false;
$: disabled = pending;
- async function handleSubmit(event) {
+ async function handleSubmit() {
pending = true;
const response = await createChannel(name);
if (200 <= response.status && response.status < 300) {
diff --git a/ui/lib/components/Message.svelte b/ui/lib/components/Message.svelte
index 9376cbe..0b91b66 100644
--- a/ui/lib/components/Message.svelte
+++ b/ui/lib/components/Message.svelte
@@ -15,6 +15,7 @@
<div class="message relative">
<span class="timestamp chip variant-soft absolute top-0 right-0">{at}</span>
<section use:scroll class="py-1 message-body">
+ <!-- eslint-disable-next-line svelte/no-at-html-tags -->
{@html renderedBody}
</section>
</div>