import React from 'react'
|
import { getLocaleOnServer, useTranslation as translate } from '@/i18n/server'
|
import Form from '@/app/components/datasets/settings/form'
|
|
const Settings = async () => {
|
const locale = getLocaleOnServer()
|
const { t } = await translate(locale, 'dataset-settings')
|
|
return (
|
<div className='h-full overflow-y-auto'>
|
<div className='px-6 py-3'>
|
<div className='mb-1 system-xl-semibold text-text-primary'>{t('title')}</div>
|
<div className='system-sm-regular text-text-tertiary'>{t('desc')}</div>
|
</div>
|
<Form />
|
</div>
|
)
|
}
|
|
export default Settings
|