Adrien Denat commited on
Commit
84203b8
1 Parent(s): cbb996c

rename TextArea to UserInput + missing import after merge conflict

Browse files
src/lib/components/{TextArea.svelte → UserInput.svelte} RENAMED
File without changes
src/routes/+page.svelte CHANGED
@@ -3,6 +3,7 @@
3
  import { fetchEventSource } from '@microsoft/fetch-event-source';
4
  import ChatBox from '$lib/chat/ChatBox.svelte';
5
  import ChatIntroduction from '$lib/chat/ChatIntroduction.svelte';
 
6
  import type { Message, StreamResponse } from '$lib/Types';
7
  import {
8
  PUBLIC_ASSISTANT_MESSAGE_TOKEN,
@@ -142,7 +143,7 @@
142
  class="shadow-alternate relative flex items-center rounded-xl flex-1 max-w-4xl border bg-gray-100 dark:bg-gray-700 dark:border-gray-600"
143
  >
144
  <div class="flex flex-1 border-none bg-transparent">
145
- <TextArea
146
  placeholder="Ask anything"
147
  bind:value={message}
148
  on:submit={onWrite}
 
3
  import { fetchEventSource } from '@microsoft/fetch-event-source';
4
  import ChatBox from '$lib/chat/ChatBox.svelte';
5
  import ChatIntroduction from '$lib/chat/ChatIntroduction.svelte';
6
+ import UserInput from '$lib/components/UserInput.svelte';
7
  import type { Message, StreamResponse } from '$lib/Types';
8
  import {
9
  PUBLIC_ASSISTANT_MESSAGE_TOKEN,
 
143
  class="shadow-alternate relative flex items-center rounded-xl flex-1 max-w-4xl border bg-gray-100 dark:bg-gray-700 dark:border-gray-600"
144
  >
145
  <div class="flex flex-1 border-none bg-transparent">
146
+ <UserInput
147
  placeholder="Ask anything"
148
  bind:value={message}
149
  on:submit={onWrite}