Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion webapp/src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import CreateOrganizationModal from "./createOrganizationModal";
import { getOrganizations } from "@/server-functions/organizations";
import { Button } from "./ui/button";

const USER_PROFILE_URL = process.env.NEXT_PUBLIC_FIEF_BASE_URL; // Redirect to Fief profile to handle profile updates there
export default function NavBar({
orgs,
setSheetOpened,
Expand Down Expand Up @@ -255,7 +256,7 @@ export default function NavBar({
onClick={() => {
setSelected("profile");
setSheetOpened?.(false);
router.push(`/profile`);
window.location.href = USER_PROFILE_URL!; // Redirect to Fief profile to handle profile updates there
}}
paddingY={1.5}
icon={<UserIcon className={iconStyles} />}
Expand Down
Loading