7 lines
201 B
JavaScript
7 lines
201 B
JavaScript
const { ipcRenderer } = require('electron/renderer')
|
|
|
|
const errorBtn = document.getElementById('error-dialog')
|
|
|
|
errorBtn.addEventListener('click', event => {
|
|
ipcRenderer.send('open-error-dialog')
|
|
})
|