sse events on text submit

This commit is contained in:
Daniel Avila 2023-02-05 15:29:35 -05:00
parent 27f7276fc8
commit 3a199757ae
6 changed files with 70 additions and 309 deletions

View file

@ -1,7 +1,8 @@
import React from 'react';
import React, { useState } from 'react';
import TextChat from './components/TextChat';
const App = () => {
const [messages, setMessages] = useState([]);
return (
<div className="flex h-screen">