Fix NPE when opening DevTools

This commit is contained in:
Vendicated 2022-08-29 18:45:58 +02:00
parent 876e622f4f
commit 1709ab61ef
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
4 changed files with 17 additions and 7 deletions

View file

@ -7,5 +7,5 @@ export default {
cb(css);
});
},
getQuickCss: () => ipcRenderer.invoke(IPC_GET_QUICK_CSS)
getQuickCss: () => ipcRenderer.invoke(IPC_GET_QUICK_CSS) as Promise<string>
};