mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 18:39:12 +00:00
Fix preload.js import
This commit is contained in:
parent
9aa6597051
commit
fcf1736aab
@ -1,4 +1,4 @@
|
||||
const { contextBridge, ipcRenderer } = require('electron');
|
||||
import { contextBridge, ipcRenderer } from 'electron';
|
||||
|
||||
// Exponer API segura al proceso renderer
|
||||
contextBridge.exposeInMainWorld('electron', {
|
||||
|
Loading…
Reference in New Issue
Block a user