Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Add cluster prop to LivePrices components

This PR updates the LivePrices components to support passing a Cluster as a prop, with Cluster.Pythnet as the default. The changes include:

  • Added cluster prop to LivePrice, LiveConfidence, LiveValue, and LiveComponentValue components
  • Updated useLivePriceData and useLivePriceComponent hooks to support cluster parameter
  • Modified price data maps to use cluster-aware keys
  • Updated all call sites to explicitly pass Cluster.Pythnet

Testing

  • ✅ TypeScript type checks pass
  • ✅ ESLint checks pass
  • ✅ Formatting checks pass

Link to Devin run: https://app.devin.ai/sessions/23e73252b5c14516a7c7a5dffd9bc806
Requested by: Connor

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link

vercel bot commented Feb 12, 2025

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

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 8:46pm
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 8:46pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 8:46pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 12, 2025 8:46pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 8:46pm
entropy-debugger ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2025 8:46pm

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.

1 participant