Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: voting list #148

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

feat: voting list #148

wants to merge 11 commits into from

Conversation

alter-eggo
Copy link
Contributor

@alter-eggo alter-eggo commented Nov 7, 2024

This pr adds vebal voting list
Screenshot 2024-11-07 at 13 34 50

Copy link

vercel bot commented Nov 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mono-beets-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 11, 2024 7:39pm
mono-frontend-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 11, 2024 7:39pm
mono-test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 11, 2024 7:39pm

@alter-eggo alter-eggo marked this pull request as ready for review November 7, 2024 12:55
packages/lib/modules/vebal/vote/gauge/useGaugeVotes.tsx Outdated Show resolved Hide resolved
packages/lib/modules/vebal/vote/VoteRateTooltip.tsx Outdated Show resolved Hide resolved
Comment on lines 32 to 36
const {
data: votingIncentives,
isLoading: votingIncentivesLoading,
error: votingIncentivesError,
} = useHiddenHandVotingIncentives()
Copy link
Contributor

@garethfuller garethfuller Nov 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any fetching that can be done server-side, e.g to external APIs or our own can be done in the RSC/layout component and passed into providers as inputs.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be fetching data in this component and passing it into providers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants