mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-16 18:03:14 +03:00
put back await
This commit is contained in:
parent
dffd5bcd52
commit
16922ce024
@ -10,7 +10,7 @@ export const useNotificationsQuery = (filter: NotificationFilters) => {
|
||||
[QUERIES.NOTIFICATIONS.GET, filter],
|
||||
async ({ pageParam }) => {
|
||||
console.log('fetching page since:', pageParam);
|
||||
const response = getNotifications({ filter, since: pageParam, limit: _fetchLimit });
|
||||
const response = await getNotifications({ filter, since: pageParam, limit: _fetchLimit });
|
||||
console.log('new page fetched', response);
|
||||
return response || [];
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user