feat: update RefreshControl mocks in tests and improve error handling in useChangePassword hook
This commit is contained in:
@@ -17,9 +17,11 @@ import { type ApiError } from '@/lib/types'
|
||||
import { handleError } from './use-error'
|
||||
|
||||
// Type definitions
|
||||
export type WorksCategory = '全部' | '萌宠' | '写真' | '合拍'
|
||||
|
||||
export interface UseWorksSearchParams {
|
||||
keyword: string
|
||||
category?: '全部' | '萌宠' | '写真' | '合拍'
|
||||
category?: WorksCategory
|
||||
page?: number
|
||||
limit?: number
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user