pranav8tripathi@gmail.com commited on
Commit
a5efd21
·
1 Parent(s): 3e70f49

changed UI

Browse files
Files changed (1) hide show
  1. src/components/ChatInterface.tsx +1 -1
src/components/ChatInterface.tsx CHANGED
@@ -103,7 +103,7 @@ const ChatInterface: React.FC<ChatInterfaceProps> = ({ onClose }) => {
103
  (crypto as any)?.randomUUID?.() ? `web-${(crypto as any).randomUUID()}` : `web-${Math.random().toString(36).slice(2, 10)}`;
104
  }
105
  }, []);
106
- // Show a "thinking" message when loading
107
  useEffect(() => {
108
  if (isLoading) {
109
  setMessages(prev => {
 
103
  (crypto as any)?.randomUUID?.() ? `web-${(crypto as any).randomUUID()}` : `web-${Math.random().toString(36).slice(2, 10)}`;
104
  }
105
  }, []);
106
+ // Show a "thinking..." message when loading
107
  useEffect(() => {
108
  if (isLoading) {
109
  setMessages(prev => {