Skip to content

Commit

Permalink
馃悰 fix: Fix router path in UserPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed May 1, 2024
1 parent 10b8dd2 commit c779e02
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/(main)/@nav/features/UserPanel/useMenu.tsx
Expand Up @@ -86,9 +86,7 @@ export const useMenu = () => {
icon: <Icon icon={Settings2} />,
key: 'setting',
label: <NewVersionBadge showBadge={hasNewVersion}>{t('userPanel.setting')}</NewVersionBadge>,
onClick: () => {
router.push('/settings/common');
},
onClick: () => router.push('/settings/m', { tab: 'common' }),
},
{
type: 'divider',
Expand Down

0 comments on commit c779e02

Please sign in to comment.