Skip to content

Commit

Permalink
increase per page limit
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoseneca committed Jan 31, 2024
1 parent 9f22dac commit b087b8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/prop-house-webapp/src/pages/Round/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ const Round: React.FC<{}> = () => {
const isModalActive = useAppSelector(state => state.propHouse.modalActive);
const proposals = useAppSelector(state => state.propHouse.activeProposals);

console.log(proposals && proposals);

const [loadingProposals, setLoadingProposals] = useState<boolean>();
const [loadedProposals, setLoadedProposals] = useState(false);
const [loadingProposalsFailed, setLoadingProposalsFailed] = useState(false);
Expand All @@ -35,6 +37,7 @@ const Round: React.FC<{}> = () => {
setLoadingProposals(true);
const proposals = await propHouse.query.getProposalsForRound(round.address, {
where: { isCancelled: false },
perPage: 60,
});
dispatch(setOnChainActiveProposals(proposals));
} catch (e) {
Expand Down

0 comments on commit b087b8d

Please sign in to comment.