fix: update route paths to use slashes instead of hashes
This commit is contained in:
@@ -122,21 +122,21 @@ export const appRoutes: RouteConfig[] = [
|
|||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '/setting/profile#info',
|
path: '/setting/profile/info',
|
||||||
navConfig: {
|
navConfig: {
|
||||||
title: 'side.personalInfo',
|
title: 'side.personalInfo',
|
||||||
icon: Personalcard,
|
icon: Personalcard,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/setting/profile#contact-info',
|
path: '/setting/profile/contact-info',
|
||||||
navConfig: {
|
navConfig: {
|
||||||
title: 'side.contactInfo',
|
title: 'side.contactInfo',
|
||||||
icon: Mobile,
|
icon: Mobile,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/setting/profile#email',
|
path: '/setting/profile/email',
|
||||||
navConfig: {
|
navConfig: {
|
||||||
title: 'side.email',
|
title: 'side.email',
|
||||||
icon: Sms,
|
icon: Sms,
|
||||||
@@ -153,14 +153,14 @@ export const appRoutes: RouteConfig[] = [
|
|||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '/setting/security#password',
|
path: '/setting/security/password',
|
||||||
navConfig: {
|
navConfig: {
|
||||||
title: 'side.password',
|
title: 'side.password',
|
||||||
icon: PasswordCheck,
|
icon: PasswordCheck,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/setting/security#recent-sessions',
|
path: '/setting/security/recent-sessions',
|
||||||
navConfig: {
|
navConfig: {
|
||||||
title: 'side.recentSessions',
|
title: 'side.recentSessions',
|
||||||
icon: Devices,
|
icon: Devices,
|
||||||
|
|||||||
Reference in New Issue
Block a user