@logickernel/bridge 0.11.0 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1030,13 +1030,11 @@ function getInitials(name, email) {
1030
1030
  function NavUser({ user }) {
1031
1031
  const sidebar = useSidebar();
1032
1032
  const isMobile = sidebar?.isMobile ?? false;
1033
- const router = useRouter();
1034
1033
  const initials = getInitials(user.name, user.email);
1035
1034
  const displayName = user.name || user.email;
1036
1035
  const handleSignOut = async () => {
1037
1036
  await signOut({ redirect: false });
1038
- router.push("/core/auth/signin");
1039
- router.refresh();
1037
+ window.location.href = "/core/auth/signin";
1040
1038
  };
1041
1039
  return /* @__PURE__ */ jsx(SidebarMenu, { children: /* @__PURE__ */ jsx(SidebarMenuItem, { children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [
1042
1040
  /* @__PURE__ */ jsx(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(