mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-23 20:55:41 +00:00
fix: remove redundant ipcRenderer.invoke call (#5799)
This commit is contained in:
committed by
GitHub
parent
b694a41c96
commit
4c3a9928bc
@@ -13,8 +13,6 @@ const useGrpcEventListeners = () => {
|
||||
return () => {};
|
||||
}
|
||||
|
||||
ipcRenderer.invoke('renderer:ready');
|
||||
|
||||
// Handle gRPC requestSent event
|
||||
const removeGrpcRequestSentListener = ipcRenderer.on('grpc:request', (requestId, collectionUid, eventData) => {
|
||||
|
||||
|
||||
@@ -13,8 +13,6 @@ const useWsEventListeners = () => {
|
||||
return () => {};
|
||||
}
|
||||
|
||||
ipcRenderer.invoke('renderer:ready');
|
||||
|
||||
// Handle WebSocket requestSent event
|
||||
const removeWsRequestSentListener = ipcRenderer.on('main:ws:request', (requestId, collectionUid, eventData) => {
|
||||
dispatch(runWsRequestEvent({
|
||||
|
||||
Reference in New Issue
Block a user