Added account parent route and fixed links

This commit is contained in:
Daniel Cojocea committed 2024-06-27 19:19:36 -04:00
1 parent fd8a0d455c
commit 62d545df06
9 files changed
+304 -289

No files matched your search

+2 -2
View File
@@ -66,10 +66,10 @@ function NavBar() {
setAnchorElUser(null);
switch (setting) {
case "Profile":
console.log("Profile");
navigate("/account/profile");
break;
case "Team":
console.log("Team");
navigate("/account/team");
break;
case "Invite Colleagues":
console.log("Invite Colleagues");
@@ -87,7 +87,7 @@ const PasswordPanel = () => {
};
return (
<TabPanel value="1">
<TabPanel value="password">
<form
onSubmit={handleSubmit}
className="edit-password-form"
@@ -148,7 +148,7 @@ const ProfilePanel = () => {
};
return (
<TabPanel value="0">
<TabPanel value="profile">
<form className="edit-profile-form" noValidate spellCheck="false">
<div className="edit-profile-form__wrapper">
<Stack>
@@ -184,7 +184,7 @@ const TeamPanel = () => {
return count;
};
return (
<TabPanel value="2">
<TabPanel value="team">
<form className="edit-organization-form">
<div
className="edit-organization-form__wrapper"