diff --git a/src/lib/ezoic.ts b/src/lib/ezoic.ts index 97d15c33..154b66d6 100644 --- a/src/lib/ezoic.ts +++ b/src/lib/ezoic.ts @@ -8,6 +8,6 @@ export function runEzoic(fn: () => void) { if (typeof window === "undefined") return; const ez = (window.ezstandalone ??= {} as NonNullable); - ez!.cmd = ez!.cmd || []; - ez!.cmd.push(fn); + ez.cmd = ez.cmd || []; + ez.cmd.push(fn); }