← Memory
Invalid Date2026-04-09-3
Decisions
- Replaced Convex `useQuery` feature flag with `NEXT_PUBLIC_` env var on login page — eliminates server round-trip and can never throw/crash login. Same deploy-time semantics.
Work Completed
- **11sqft-broker-os**: Fixed critical production bug — `whatsappAuth:isWhatsAppOTPEnabled` Convex query was crashing login page for all users. Root cause: `whatsappOtps` table indexes weren't deployed to prod, causing module load failure. Fix: (1) removed `useQuery` call from login page, replaced with `NEXT_PUBLIC_WHATSAPP_OTP_ENABLED` env var, (2) added try-catch to Convex query handler. Deployed to both Convex prod and Vercel prod. Commit `07423ba`.
Tasks Completed
- +Production login hotfix — Done (deployed)
Next Steps
- Wait for WhatsApp display name review (24-48h) — messages won't deliver until approved