Skip to content

Commit

Permalink
fix: pagination in proposals voted on
Browse files Browse the repository at this point in the history
  • Loading branch information
andyesp committed Jul 3, 2023
1 parent d26a69a commit be10ddc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useVotedProposals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function useVotedProposals(address: string, first?: number) {
const [skip, setSkip] = useState(0)

const { data: responseVotes, isLoading } = useQuery({
queryKey: [`votedProposals#${address}#${first}`],
queryKey: [`votedProposals#${address}#${first}#${skip}`],
queryFn: async () => {
if (!isEthereumAddress(address)) {
return []
Expand Down
12 changes: 0 additions & 12 deletions src/intl/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1138,18 +1138,6 @@
"empty_update": "When the team publishes their first update, it will appear here.",
"cliff_notice": "No funds vested until"
},
"proposal_activity": {
"title": "Decentraland DAO",
"description": "The governance hub for Decentraland. Create and vote on proposals that help shape the future of the metaverse.",
"list_proposals": "my proposals",
"list_watchlist": "watchlist",
"current_result": "current result",
"no_proposals_subscriptions": "You haven't subscribed to any proposal yet.",
"no_proposals_subscriptions_action": "Browse proposals",
"no_proposals_submitted": "You haven't submitted any proposal yet.",
"no_proposals_submitted_action": "Create a proposal",
"no_proposals_coauthoring": "You don’t have active co-authoring requests currently."
},
"proposal_comments": {
"title": "{count} {count, plural, one {Comment} other {Comments}}",
"join_discussion_label": "Join the discussion",
Expand Down

0 comments on commit be10ddc

Please sign in to comment.