fix: Clicking 'profile' option from account menu routes to blank screen
This commit is contained in:
@@ -19,6 +19,7 @@ export default function SettingsRoutes() {
|
|||||||
{/* old routes */}
|
{/* old routes */}
|
||||||
<Redirect from="/settings/import-export" to="/settings/export" />
|
<Redirect from="/settings/import-export" to="/settings/export" />
|
||||||
<Redirect from="/settings/people" to="/settings/members" />
|
<Redirect from="/settings/people" to="/settings/members" />
|
||||||
|
<Redirect from="/settings/profile" to="/settings" />
|
||||||
</Switch>
|
</Switch>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export function organizationSettingsPath(): string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function profileSettingsPath(): string {
|
export function profileSettingsPath(): string {
|
||||||
return "/settings/profile";
|
return "/settings";
|
||||||
}
|
}
|
||||||
|
|
||||||
export function groupSettingsPath(): string {
|
export function groupSettingsPath(): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user