Skip to content

Commit

Permalink
docs(preload): update
Browse files Browse the repository at this point in the history
  • Loading branch information
alex8088 committed Jun 4, 2023
1 parent 506c922 commit 36683dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ window.electron.ipcRenderer.on('electron:reply', (_, args) => {
console.log(args)
})

// Remove Listener
// Remove a listener
const removeListener = window.electron.ipcRenderer.on('electron:reply', (_, args) => {})
removeListener()
```
Expand Down

0 comments on commit 36683dd

Please sign in to comment.