5 changed files with 30 additions and 24 deletions
@ -1,9 +1,11 @@ |
|||
import createIpc from 'redux-electron-ipc' |
|||
import { receivedInfo } from './info' |
|||
import { receiveInfo } from './info' |
|||
import { receivePeers } from './peers' |
|||
|
|||
// Import all receiving IPC event handlers and pass them into createIpc
|
|||
const ipc = createIpc({ |
|||
'receivedInfo': receivedInfo |
|||
'receiveInfo': receiveInfo, |
|||
'receivePeers': receivePeers |
|||
}) |
|||
|
|||
export default ipc |
Loading…
Reference in new issue