Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Feat [UI/UX] [Front End] [Chat] TODO Comment (#265)
Browse files Browse the repository at this point in the history
- [+] feat(chat.tsx): add TODO comment about fixing UNFINISHED_INPUT overwriting issue
  • Loading branch information
H0llyW00dzZ authored Feb 8, 2024
1 parent b9b6db0 commit b33d507
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,10 @@ function _Chat() {

// edit / insert message modal
const [isEditingMessage, setIsEditingMessage] = useState(false);

// TODO: The final improvement needed is to fix the "UNFINISHED_INPUT" overwriting issue that occurs when a user clicks 'start new conversation'.
// After this, I will return to working on the backend with Golang.

// Define the key for storing unfinished input based on the session ID outside of the useEffect.
const key = UNFINISHED_INPUT(session.id);

Expand Down

0 comments on commit b33d507

Please sign in to comment.