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

Fix(web): courts section not working on dashboard #1299

Merged
merged 6 commits into from
Oct 25, 2023

Conversation

alcercu
Copy link
Contributor

@alcercu alcercu commented Oct 25, 2023

PR-Codex overview

Detailed summary

  • Updated the StakeWithdraw component in Popup/Description/StakeWithdraw.tsx to use the formatUnits function from viem to format the jurorBalance value.
  • Updated the Courts component in Dashboard/Courts/index.tsx to use the useFragment function from src/graphql and the userFragment from queries/useUser to retrieve user data.
  • Updated the CourtCard component in Dashboard/Courts/CourtCard.tsx to use the formatUnits function from viem to format the stake and lockedStake values.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@netlify
Copy link

netlify bot commented Oct 25, 2023

Deploy Preview for kleros-v2 ready!

Name Link
🔨 Latest commit 8359e61
🔍 Latest deploy log https://app.netlify.com/sites/kleros-v2/deploys/6538ffecd8076d0008255787
😎 Deploy Preview https://deploy-preview-1299--kleros-v2.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@alcercu alcercu enabled auto-merge October 25, 2023 11:46
@sonarcloud
Copy link

sonarcloud bot commented Oct 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codeclimate
Copy link

codeclimate bot commented Oct 25, 2023

Code Climate has analyzed commit 8359e61 and detected 0 issues on this pull request.

View more on Code Climate.

Copy link
Contributor

@kemuru kemuru left a comment

Choose a reason for hiding this comment

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

lgtm

@alcercu alcercu added this pull request to the merge queue Oct 25, 2023
Merged via the queue into dev with commit a5aa14c Oct 25, 2023
10 of 11 checks passed
@jaybuidl jaybuidl added this to the testnet-2.1 milestone Oct 30, 2023
@jaybuidl jaybuidl deleted the fix(web)/courts-not-appearing-dashboard branch January 3, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants