mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
build: fix electron build gain focus on reloading in dev (#2088)
This commit is contained in:
@@ -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