refactor: update route type imports for admin actions and remove unused types
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user