Replace window.location hard navigations with router.push/refresh

Fixkamo-internal
Shipped
March 11, 2026 at 5:38 PM UTC
Author
kamo
Commit
3ba58d4

All window.location.href, window.location.assign(), and window.location.reload() calls in page components caused full page reloads, wiping all React state including open tool windows (chat, softphone, calculator). Replaced with: - router.push() in account/page.tsx, EmployeeManager.tsx, LeadManager.tsx, PipelineDashboardTab.tsx - Next.js <Link> in **************** - router.refresh() in AvatarManager.tsx (re-fetches server data, preserves client state — no full page reload)

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing