mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
use all states
This commit is contained in:
@@ -129,9 +129,7 @@ export const DocsGPTWidget = ({ apiHost = 'https://gptcloud.arc53.com', selectDo
|
||||
}, [answer]);
|
||||
|
||||
useEffect(() => {
|
||||
if (chatState === ChatStates.Init || chatState === ChatStates.Minimized) {
|
||||
localStorage.setItem('docsGPTChatState', chatState);
|
||||
}
|
||||
localStorage.setItem('docsGPTChatState', chatState);
|
||||
}, [chatState]);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user