test with 3 page size

This commit is contained in:
Karol Wypchlo 2021-02-09 16:56:37 +01:00
parent 2d85850d5e
commit 35ed04c2d7
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ const actions = [];
export default function Downloads() { export default function Downloads() {
const [offset, setOffset] = useState(0); const [offset, setOffset] = useState(0);
const { data, error } = useSWR(`${apiPrefix}/user/downloads?pageSize=10&offset=${offset}`, fetcher); const { data, error } = useSWR(`${apiPrefix}/user/downloads?pageSize=3&offset=${offset}`, fetcher);
return ( return (
<Layout title="Your downloads"> <Layout title="Your downloads">