pl-fe: i just hate this
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -27,8 +27,8 @@ const useReport = (reportId: string) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const pendingReportsQuery = makePaginatedResponseQueryOptions(
|
const pendingReportsQuery = makePaginatedResponseQueryOptions(
|
||||||
['admin', 'reportLists', { resolved: false }],
|
['admin', 'reportLists', { resolved: undefined }],
|
||||||
(client) => client.admin.reports.getReports({ resolved: false }).then(minifyAdminReportList),
|
(client) => client.admin.reports.getReports({ resolved: undefined }).then(minifyAdminReportList),
|
||||||
)();
|
)();
|
||||||
|
|
||||||
const usePendingReportsCount = () => {
|
const usePendingReportsCount = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user