Removed usage of useRouter from the admin impersonate user dialog component and replaced it with window.location.replace. This was done to ensure a hard refresh and avoid hitting cached pages after impersonating a user.
Removed usage of useRouter from the admin impersonate user dialog component and replaced it with window.location.replace. This was done to ensure a hard refresh and avoid hitting cached pages after impersonating a user.