more pages
This commit is contained in:
@@ -33,7 +33,7 @@ export default function RecentAccounts() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const { data, isFetching, isError, error } = useQuery({
|
const { data, isFetching, isError, error } = useQuery({
|
||||||
queryKey: [...queryKeys.recent_signup, page, willFilter],
|
queryKey: [...queryKeys.recent_account, page, willFilter],
|
||||||
queryFn: () => {
|
queryFn: () => {
|
||||||
const filterData = filter?.type ? { [filter?.type]: filter.id } : {};
|
const filterData = filter?.type ? { [filter?.type]: filter.id } : {};
|
||||||
const reqData = {
|
const reqData = {
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ const queryKeys = {
|
|||||||
billings: ['billings'],
|
billings: ['billings'],
|
||||||
right_sidebar: ['right_sidebar'],
|
right_sidebar: ['right_sidebar'],
|
||||||
recent_signup: ['recent_signup'],
|
recent_signup: ['recent_signup'],
|
||||||
|
recent_account: ['recent_account'],
|
||||||
products: ['products'],
|
products: ['products'],
|
||||||
products_template: ['products_template'],
|
products_template: ['products_template'],
|
||||||
custom_template: ['custom_template'],
|
custom_template: ['custom_template'],
|
||||||
|
|||||||
Reference in New Issue
Block a user