diff options
Diffstat (limited to 'ui/lib/components')
| -rw-r--r-- | ui/lib/components/CreateConversationForm.svelte | 2 | ||||
| -rw-r--r-- | ui/lib/components/LogIn.svelte | 4 | ||||
| -rw-r--r-- | ui/lib/components/MessageInput.svelte | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ui/lib/components/CreateConversationForm.svelte b/ui/lib/components/CreateConversationForm.svelte index e390a78..812a5cf 100644 --- a/ui/lib/components/CreateConversationForm.svelte +++ b/ui/lib/components/CreateConversationForm.svelte @@ -16,7 +16,7 @@ } </script> -<form {onsubmit}> +<form class="create-conversation" {onsubmit}> <input type="text" placeholder="start a conversation" bind:value={name} {disabled} /> <button type="submit">➕</button> </form> diff --git a/ui/lib/components/LogIn.svelte b/ui/lib/components/LogIn.svelte index c49ea3b..b491583 100644 --- a/ui/lib/components/LogIn.svelte +++ b/ui/lib/components/LogIn.svelte @@ -1,8 +1,8 @@ <script> let { legend = 'sign in', logIn = async (username, password) => {} } = $props(); - let username = $state(); - let password = $state(); + let username = $state(''); + let password = $state(''); let disabled = $state(false); async function onsubmit(event) { diff --git a/ui/lib/components/MessageInput.svelte b/ui/lib/components/MessageInput.svelte index 77c39be..1a18f63 100644 --- a/ui/lib/components/MessageInput.svelte +++ b/ui/lib/components/MessageInput.svelte @@ -45,7 +45,7 @@ } </script> -<form {onsubmit}> +<form class="create-message" {onsubmit}> <textarea bind:value hidden {disabled}></textarea> <div role="textbox" |
