fix: resolve typescript and build errors across admin and guest apps

This commit is contained in:
Codex Agent
2026-01-07 13:25:30 +01:00
parent 1ec4987b38
commit 8e1031fff0
42 changed files with 1056 additions and 30446 deletions

View File

@@ -34,7 +34,7 @@ export function resolveOnboardingRedirect({
return null;
}
if (!hasEvents && (!hasActivePackage || (remainingEvents !== null && remainingEvents <= 0))) {
if (!hasEvents && (!hasActivePackage || (remainingEvents !== undefined && remainingEvents !== null && remainingEvents <= 0))) {
return ADMIN_BILLING_PATH;
}