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:
parent
c990a6f251
commit
2b3bf88a06
@ -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();
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user