1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

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-turso 2022-04-13 13:52:07 +03:00 committed by Janne Savolainen
parent c990a6f251
commit 2b3bf88a06
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -15,14 +15,14 @@ const setupListenerForRootFrameRenderingInjectable = getInjectable({
instantiate: (di) => { instantiate: (di) => {
const runMany = runManyFor(di); const runMany = runManyFor(di);
const runOnRootFrameRender = runMany( const runAfterRootFrameIsReady = runMany(
afterRootFrameIsReadyInjectionToken, afterRootFrameIsReadyInjectionToken,
); );
return { return {
run: () => { run: () => {
ipcMainOn(IpcRendererNavigationEvents.LOADED, async () => { ipcMainOn(IpcRendererNavigationEvents.LOADED, async () => {
await runOnRootFrameRender(); await runAfterRootFrameIsReady();
}); });
}, },
}; };