Consolidate variable naming

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>

Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
Iku-tursoandJanne Savolainen authored and Janne Savolainen committed 2022-05-11 08:25:31 +03:00
1 parent c990a6f251
commit 2b3bf88a06
1 file changed
+2 -2
@@ -15,14 +15,14 @@ const setupListenerForRootFrameRenderingInjectable = getInjectable({
instantiate: (di) => {
const runMany = runManyFor(di);
const runOnRootFrameRender = runMany(
const runAfterRootFrameIsReady = runMany(
afterRootFrameIsReadyInjectionToken,
);
return {
run: () => {
ipcMainOn(IpcRendererNavigationEvents.LOADED, async () => {
await runOnRootFrameRender();
await runAfterRootFrameIsReady();
});
},
};