test with 3 page size
This commit is contained in:
parent
2d85850d5e
commit
35ed04c2d7
|
@ -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">
|
||||||
|
|
Reference in New Issue