rofactored edit and create pages
This commit is contained in:
1 parent
2f13d424e1
commit
4adc153503
79 files changed
+1663
-2333
No files matched your search
@@ -1,20 +1,5 @@
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { DistrictForm } from '@/features/districts/components/districtsForm'
|
||||
|
||||
export default function DistrictCreatePage() {
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<div >
|
||||
<div className="mb-6">
|
||||
|
||||
|
||||
<h1 className="text-2xl font-bold text-foreground">
|
||||
{t('districts.create.title', 'Etrap döretmek')}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<DistrictForm mode="create" />
|
||||
</div>
|
||||
)
|
||||
return <DistrictForm mode="create" />
|
||||
}
|
||||
Reference in new issue
Block a user