Skip to content

Commit 5466f63

Browse files
Update Chat.tsx
1 parent 7eea67a commit 5466f63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

code/frontend/src/pages/chat/Chat.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ const Chat = () => {
8484
const [fetchingConvMessages, setFetchingConvMessages] = React.useState(false);
8585
const [isSavingToDB, setIsSavingToDB] = React.useState(false);
8686
const [isInitialAPItriggered, setIsInitialAPItriggered] = useState(false);
87+
const [Count, SetCount] = useState(false);
88+
8789

8890
const saveToDB = async (messages: ChatMessage[], convId: string) => {
8991
if (!convId || !messages.length) {

0 commit comments

Comments
 (0)