This repository has been archived by the owner on Sep 15, 2024. It is now read-only.
forked from ChatGPTNextWeb/NextChat
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix [UI/UX] [Front End] [Chats] Causing Memory Leaks (#285)
* Fix [UI/UX] [Front End] [Chats] Causing Memory Leaks - [+] refactor(chat.tsx): optimize state updates to prevent unnecessary re-renders and memory leaks - [+] fix(chat.tsx): correct spelling from 'UnavaliableModel' to 'UnavailableModel' - [+] fix(chat.tsx): replace Image component with img tag for better upload handling - [+] feat(chat.tsx): add attachImages prop to ChatActions component * Add additional comment - [+] chore(chat.tsx): add additional comment for front-end developers * Add Note - [+] feat(chat.tsx): add note about image optimization warning in chat component
- Loading branch information
1 parent
51ff4dd
commit 548f666
Showing
1 changed file
with
36 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters