diff --git a/apps/web/app/[locale]/settings/layout.tsx b/apps/web/app/[locale]/settings/layout.tsx index 2d8cd798e..03349068f 100644 --- a/apps/web/app/[locale]/settings/layout.tsx +++ b/apps/web/app/[locale]/settings/layout.tsx @@ -20,11 +20,11 @@ const SettingsLayout = ({ children }: { children: JSX.Element }) => { const fullWidth = useRecoilValue(fullWidthState); const pathName = usePathname(); const getEndPath: any = pathName?.split('settings/')[1]; - const endCapitlizeWord: 'TEAM' | 'PERSONAL' = getEndPath?.toUpperCase(); + const endWord: 'TEAM' | 'PERSONAL' = getEndPath?.toUpperCase(); const breadcrumb = [ { title: JSON.parse(t('pages.home.BREADCRUMB')), href: '/' }, { title: t('common.SETTINGS'), href: pathName as string }, - { title: t(`common.${endCapitlizeWord}`), href: pathName as string } + { title: t(`common.${endWord}`), href: pathName as string } ]; console.log('breadcrumb', breadcrumb); if (!user) {