From 971d65c9bc040ec8a74778ed01a7c0801324bd71 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Wed, 19 Dec 2018 19:17:34 -0500 Subject: [PATCH] remove unused method --- app/components/Home.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/components/Home.js b/app/components/Home.js index 86e2cb4..dd73009 100644 --- a/app/components/Home.js +++ b/app/components/Home.js @@ -57,14 +57,6 @@ const status = new StatusJS(); type Props = {}; -function sendRequest(data, cb) { - let id = uuid(); - ipcRenderer.on('rpc-' + id, (data) => { - cb(data); - }); - ipcRenderer.send('rpc', id, data); -} - export default class Home extends PureComponent { props: Props;