mirror of
https://github.com/diced/zipline.git
synced 2025-04-11 23:31:17 -05:00
fix: favorite pagination num
This commit is contained in:
parent
5c9b558ac2
commit
a7291d374d
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export default function Files({ disableMediaPreview, exifEnabled, queryPage }) {
|
|||
|
||||
useEffect(() => {
|
||||
(async () => {
|
||||
const { count } = await useFetch('/api/user/paged?type=count&filter=media&favorite=true');
|
||||
const { count } = await useFetch('/api/user/paged?count=true&filter=media&favorite=true');
|
||||
setFavoriteNumPages(count);
|
||||
})();
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue