feat: refactor import paths for content and category schemas to improve clarity and organization
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user