refactor: update route type imports for admin actions and remove unused types
This commit is contained in:
@@ -7,7 +7,7 @@ import { createNewsRequest } from '~/apis/admin/create-news'
|
||||
import { handleCookie } from '~/libs/cookies'
|
||||
import { contentSchema, type TContentSchema } from '~/pages/form-contents'
|
||||
|
||||
import type { Route } from './+types/actions.register'
|
||||
import type { Route } from './+types/actions.admin.contents.create'
|
||||
|
||||
export const action = async ({ request }: Route.ActionArgs) => {
|
||||
const { staffToken } = await handleCookie(request)
|
||||
|
||||
Reference in New Issue
Block a user