Usenet styling and fixes

This commit is contained in:
ajnart
2023-01-05 22:42:56 +09:00
parent d0c016aab6
commit 930a17843f
3 changed files with 9 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ export const UsenetHistoryList: FunctionComponent<UsenetHistoryListProps> = ({ a
const { data, isLoading, isError, error } = useGetUsenetHistory({
limit: PAGE_SIZE,
offset: (page - 1) * PAGE_SIZE,
appId: appId,
appId,
});
const totalPages = Math.ceil((data?.total || 1) / PAGE_SIZE);