feat: refactor import paths for content and category schemas to improve clarity and organization
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { getNewsBySlug } from '~/apis/common/get-news-by-slug'
|
||||
import { handleCookie } from '~/libs/cookies'
|
||||
import { ContentsFormPage } from '~/pages/contents-form'
|
||||
import { FormContentsPage } from '~/pages/form-contents'
|
||||
|
||||
import type { Route } from './+types/_admin.lg-admin._dashboard.contents.update.$slug'
|
||||
|
||||
@@ -15,6 +15,6 @@ export const loader = async ({ request }: Route.LoaderArgs) => {
|
||||
|
||||
const DashboardContentUpdateLayout = ({ loaderData }: Route.ComponentProps) => {
|
||||
const newsData = loaderData.newsData
|
||||
return <ContentsFormPage newsData={newsData} />
|
||||
return <FormContentsPage newsData={newsData} />
|
||||
}
|
||||
export default DashboardContentUpdateLayout
|
||||
|
||||
Reference in New Issue
Block a user