matthoffner commited on
Commit
d1f9176
·
1 Parent(s): 635d262

Update components/Chat/Chat.tsx

Browse files
Files changed (1) hide show
  1. components/Chat/Chat.tsx +1 -8
components/Chat/Chat.tsx CHANGED
@@ -25,7 +25,6 @@ import { Plugin } from '@/types/plugin';
25
 
26
  import HomeContext from '@/pages/api/home/home.context';
27
 
28
- import Spinner from '../Spinner';
29
  import { ChatInput } from './ChatInput';
30
  import { ChatLoader } from './ChatLoader';
31
  import { ErrorMessageDiv } from './ErrorMessageDiv';
@@ -384,13 +383,7 @@ export const Chat = memo(({ stopConversationRef }: Props) => {
384
  <>
385
  <div className="mx-auto flex flex-col space-y-5 md:space-y-10 px-3 pt-5 md:pt-12 sm:max-w-[600px]">
386
  <div className="text-center text-3xl font-semibold text-gray-800 dark:text-gray-100">
387
- {models.length === 0 ? (
388
- <div>
389
- <Spinner size="16px" className="mx-auto" />
390
- </div>
391
- ) : (
392
- 'Chatbot UI'
393
- )}
394
  </div>
395
 
396
  {models.length > 0 && (
 
25
 
26
  import HomeContext from '@/pages/api/home/home.context';
27
 
 
28
  import { ChatInput } from './ChatInput';
29
  import { ChatLoader } from './ChatLoader';
30
  import { ErrorMessageDiv } from './ErrorMessageDiv';
 
383
  <>
384
  <div className="mx-auto flex flex-col space-y-5 md:space-y-10 px-3 pt-5 md:pt-12 sm:max-w-[600px]">
385
  <div className="text-center text-3xl font-semibold text-gray-800 dark:text-gray-100">
386
+ Chatbot UI
 
 
 
 
 
 
387
  </div>
388
 
389
  {models.length > 0 && (