feat: create ContentsFormPage for content creation and update related imports
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { AdminDashboardLayout } from '~/layouts/admin/dashboard'
|
||||
import { CreateContentsPage } from '~/pages/contents-create'
|
||||
import { ContentsFormPage } from '~/pages/contents-form'
|
||||
|
||||
const DashboardContentsLayout = () => {
|
||||
return (
|
||||
<AdminDashboardLayout>
|
||||
<CreateContentsPage />
|
||||
<ContentsFormPage />
|
||||
</AdminDashboardLayout>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import { XiorError } from 'xior'
|
||||
|
||||
import { createNewsRequest } from '~/apis/admin/create-news'
|
||||
import { handleCookie } from '~/libs/cookies'
|
||||
import { contentSchema, type TContentSchema } from '~/pages/contents-create'
|
||||
import { contentSchema, type TContentSchema } from '~/pages/contents-form'
|
||||
|
||||
import type { Route } from './+types/actions.register'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user