refactor: update route type imports for admin actions and remove unused types

This commit is contained in:
Ardeman
2025-03-12 10:41:21 +08:00
parent 70cbb134d8
commit 56c31d7a20
14 changed files with 14 additions and 14 deletions
@@ -7,7 +7,7 @@ import { updateCategoryRequest } from '~/apis/admin/update-category'
import { handleCookie } from '~/libs/cookies'
import { categorySchema, type TCategorySchema } from '~/pages/form-category'
import type { Route } from './+types/actions.register'
import type { Route } from './+types/actions.admin.categories.update'
export const action = async ({ request }: Route.ActionArgs) => {
const { staffToken } = await handleCookie(request)