mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
refactor: comment out domain navigation and its usage in settings page
- Removed the 'domain' tab from the SETTINGS_TABS array in SettingsNavigation.tsx for cleaner navigation. - Commented out the usage of <SettingsNavigation active="domain" /> in the domain settings page to prevent rendering issues. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -7,12 +7,12 @@ const SETTINGS_TABS = [
|
||||
path: '/settings/site',
|
||||
end: true,
|
||||
},
|
||||
{
|
||||
id: 'domain',
|
||||
labelKey: 'settings.nav.domain',
|
||||
path: '/settings/domain',
|
||||
end: true,
|
||||
},
|
||||
// {
|
||||
// id: 'domain',
|
||||
// labelKey: 'settings.nav.domain',
|
||||
// path: '/settings/domain',
|
||||
// end: true,
|
||||
// },
|
||||
{
|
||||
id: 'user',
|
||||
labelKey: 'settings.nav.user',
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
import { MainPageLayout } from '~/components/layouts/MainPageLayout'
|
||||
import { SettingsNavigation } from '~/modules/settings'
|
||||
import { CustomDomainCard } from '~/modules/site-settings'
|
||||
|
||||
export function Component() {
|
||||
@@ -9,7 +8,7 @@ export function Component() {
|
||||
return (
|
||||
<MainPageLayout title={t('settings.domain.title')} description={t('settings.domain.description')}>
|
||||
<div className="space-y-6">
|
||||
<SettingsNavigation active="domain" />
|
||||
{/* <SettingsNavigation active="domain" /> */}
|
||||
<CustomDomainCard />
|
||||
</div>
|
||||
</MainPageLayout>
|
||||
|
||||
Reference in New Issue
Block a user