auto-git:
[change] src/App.jsx [change] src/AssistantMessageContent.jsx [change] src/GeneralSettings.jsx [change] src/InterfaceSettings.jsx [change] src/LibraryManager.jsx [change] src/WebsearchSettings.jsx [change] src/main.jsx [change] src/useChatScroll.js
This commit is contained in:
@@ -687,10 +687,10 @@ export default function App() {
|
||||
}
|
||||
};
|
||||
|
||||
window.electronAPI.onWindowFocus(handleFocus);
|
||||
desktopApi.onWindowFocus(handleFocus);
|
||||
|
||||
return () => {
|
||||
window.electronAPI.offWindowFocus(handleFocus);
|
||||
desktopApi.offWindowFocus(handleFocus);
|
||||
};
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user