feat: refactor import paths for content and category schemas to improve clarity and organization

This commit is contained in:
Ardeman
2025-03-08 00:47:33 +08:00
parent 3a15c0d945
commit 2c64d430bd
11 changed files with 14 additions and 14 deletions
@@ -15,7 +15,7 @@ export const createCategorySchema = z.object({
})
export type TCategorySchema = z.infer<typeof createCategorySchema>
export const CreateCategoryPage = () => {
export const FormCategoryPage = () => {
const fetcher = useFetcher()
const navigate = useNavigate()
const formMethods = useRemixForm<TCategorySchema>({
@@ -60,7 +60,7 @@ type TProperties = {
newsData?: z.infer<typeof newsResponseSchema>
}
export const ContentsFormPage = (properties: TProperties) => {
export const FormContentsPage = (properties: TProperties) => {
const { newsData } = properties || {}
const fetcher = useFetcher()
const navigate = useNavigate()