We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 987997c commit e775b49Copy full SHA for e775b49
1 file changed
webapp/src/components/navbar.tsx
@@ -26,6 +26,7 @@ import CreateOrganizationModal from "./createOrganizationModal";
26
import { getOrganizations } from "@/server-functions/organizations";
27
import { Button } from "./ui/button";
28
29
+const USER_PROFILE_URL = process.env.NEXT_PUBLIC_FIEF_BASE_URL; // Redirect to Fief profile to handle profile updates there
30
export default function NavBar({
31
orgs,
32
setSheetOpened,
@@ -255,7 +256,7 @@ export default function NavBar({
255
256
onClick={() => {
257
setSelected("profile");
258
setSheetOpened?.(false);
- router.push(`/profile`);
259
+ window.location.href = USER_PROFILE_URL!; // Redirect to Fief profile to handle profile updates there
260
}}
261
paddingY={1.5}
262
icon={<UserIcon className={iconStyles} />}
0 commit comments