feat: optimize home screen data loading with pagination and refresh functionality
This commit is contained in:
@@ -7,7 +7,7 @@ import { type ApiError } from '@/lib/types'
|
||||
import { OWNER_ID } from '@/lib/auth'
|
||||
import { handleError } from './use-error'
|
||||
|
||||
type ListCategoryTemplatesParams = Omit<ListTemplatesInput, 'ownerId'>
|
||||
type ListCategoryTemplatesParams = Partial<Omit<ListTemplatesInput, 'ownerId'>>
|
||||
|
||||
interface UseCategoryTemplatesOptions {
|
||||
categoryId?: string
|
||||
|
||||
Reference in New Issue
Block a user