fix: Minor linting errors

This commit is contained in:
April Hall 2025-02-07 22:50:28 -05:00
parent 303434da22
commit c335aa610c
Signed by: arithefirst
GPG Key ID: 4508A15C4DB91C5B
2 changed files with 4 additions and 10 deletions

View File

@ -7,15 +7,9 @@
import ModeSwitcher from './modeSwitcher.svelte';
interface Props {
data: SuperValidated<
{
channelName: string;
},
any,
{
channelName: string;
}
>;
data: SuperValidated<{
channelName: string;
}>;
channels: string[];
children: Snippet;
}

View File

@ -51,7 +51,7 @@
{/snippet}
<div class="flex h-full flex-1 flex-col items-center justify-center gap-1 rounded-lg shadow-sm">
<div class="flex w-full flex-auto flex-grow flex-col-reverse overflow-x-hidden overflow-y-scroll rounded-lg border">
{@render message(socket?.messages!)}
{@render message(socket?.messages ?? [])}
{@render message(data.messages)}
</div>
<form