File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import CreateOrganizationModal from "./createOrganizationModal";
2626import { getOrganizations } from "@/server-functions/organizations" ;
2727import { Button } from "./ui/button" ;
2828
29+ const USER_PROFILE_URL = process . env . NEXT_PUBLIC_FIEF_BASE_URL ; // Redirect to Fief profile to handle profile updates there
2930export default function NavBar ( {
3031 orgs,
3132 setSheetOpened,
@@ -255,7 +256,7 @@ export default function NavBar({
255256 onClick = { ( ) => {
256257 setSelected ( "profile" ) ;
257258 setSheetOpened ?.( false ) ;
258- router . push ( `/ profile` ) ;
259+ window . location . href = USER_PROFILE_URL ! ; // Redirect to Fief profile to handle profile updates there
259260 } }
260261 paddingY = { 1.5 }
261262 icon = { < UserIcon className = { iconStyles } /> }
You can’t perform that action at this time.
0 commit comments