Added account parent route and fixed links
This commit is contained in:
1 parent
fd8a0d455c
commit
62d545df06
9 files changed
+304
-289
No files matched your search
@@ -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");
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@ const PasswordPanel = () => {
|
||||
};
|
||||
|
||||
return (
|
||||
<TabPanel value="1">
|
||||
<TabPanel value="password">
|
||||
<form
|
||||
onSubmit={handleSubmit}
|
||||
className="edit-password-form"
|
||||
+1
-1
@@ -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>
|
||||
+1
-1
@@ -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"
|
||||
Reference in new issue
Block a user