Skip to content

Commit

Permalink
docs: fix missing dependencies in ipc patterns (electron#33082)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuion authored and bavulapati committed Apr 29, 2022
1 parent 81027ca commit 66479d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/fiddles/ipc/pattern-2/main.js
@@ -1,4 +1,4 @@
const {app, BrowserWindow, ipcMain,dialog} = require('electron')
const {app, BrowserWindow, ipcMain, dialog} = require('electron')
const path = require('path')

async function handleFileOpen() {
Expand Down
2 changes: 1 addition & 1 deletion docs/fiddles/ipc/pattern-3/main.js
@@ -1,4 +1,4 @@
const {app, BrowserWindow, Menu} = require('electron')
const {app, BrowserWindow, Menu, ipcMain} = require('electron')
const path = require('path')

function createWindow () {
Expand Down

0 comments on commit 66479d5

Please sign in to comment.