fix: resolve typescript and build errors across admin and guest apps
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-07 13:25:30 +01:00
parent 1ec4987b38
commit 22cb7ed7ce
43 changed files with 1057 additions and 30446 deletions

View File

@@ -3,10 +3,10 @@ export function prefetchMobileRoutes() {
const schedule = (callback: () => void) => {
if ('requestIdleCallback' in window) {
(window as Window & { requestIdleCallback: (cb: () => void) => number }).requestIdleCallback(callback);
(window as any).requestIdleCallback(callback);
return;
}
window.setTimeout(callback, 1200);
(window as any).setTimeout(callback, 1200);
};
schedule(() => {