build: fix electron build gain focus on reloading in dev (#2088)
This commit is contained in:
1 parent
33261558f6
commit
be9095ec19
5 files changed
+47
-37
No files matched your search
@@ -23,7 +23,6 @@ import { isMacOS } from '../../utils';
|
||||
*/
|
||||
contextBridge.exposeInMainWorld('apis', {
|
||||
db: {
|
||||
// TODO: do we need to store the workspace list locally?
|
||||
// workspace providers
|
||||
getDoc: (id: string): Promise<Uint8Array | null> =>
|
||||
ipcRenderer.invoke('db:get-doc', id),
|
||||
|
||||
Reference in new issue
Block a user