remove unused method
This commit is contained in:
parent
7a4eefe707
commit
971d65c9bc
|
@ -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: Props;
|
||||
|
||||
|
|
Loading…
Reference in New Issue