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

Fixkamo-internal
已装运
2026年3月11日 17:38 UTC
作者
kamo
提交
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)

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价