From da20973fee91a48e04447ade318afb212daf92ff Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Wed, 19 Jun 2024 11:20:35 -0700 Subject: [PATCH] update comment on getApi --- frontend/app/store/global.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/app/store/global.ts b/frontend/app/store/global.ts index 01e0196b8..c3216cd83 100644 --- a/frontend/app/store/global.ts +++ b/frontend/app/store/global.ts @@ -222,6 +222,9 @@ waveobjUpdateSubject.subscribe((msg: WSEventType) => { WOS.updateWaveObject(update); }); +/** + * Get the preload api. + */ function getApi(): ElectronApi { return (window as any).api; }