Skip to content

Commit

Permalink
fix: better param names and remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis authored and steveoh committed Jan 28, 2022
1 parent d42cfde commit 61186c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ contextBridge.exposeInMainWorld('ugrc', {
getRecordCount: (content) => ipcRenderer.invoke('getRecordCount', content),
saveConfig: (content) => ipcRenderer.send('saveConfig', content),
getConfigItem: (content) => ipcRenderer.invoke('getConfigItem', content),
subscribeToGeocodingUpdates: (event, arg) => ipcRenderer.on('onGeocodingUpdate', event, arg),
subscribeToGeocodingUpdates: (handler) => ipcRenderer.on('onGeocodingUpdate', handler),
unsubscribeFromGeocodingUpdates: () => ipcRenderer.removeAllListeners('onGeocodingUpdate'),
geocode: (content) => ipcRenderer.invoke('geocode', content),
cancelGeocode: (content) => ipcRenderer.send('cancelGeocode', content),
Expand Down

0 comments on commit 61186c7

Please sign in to comment.