-
Notifications
You must be signed in to change notification settings - Fork 11
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(CapacityInfo): fix not found link to capacities #116
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/pages/offer/PeersTable.tsx
Outdated
{peer.currentCapacityCommitment?.status && ( | ||
<CapacityStatus | ||
status={peer.currentCapacityCommitment?.status} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe there should be a -
like above in case there is no peer.currentCapacityCommitment
or there should be no -
above. Would be nice to be at least consistent with how missing values look in UI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated the code in this file to ensure consistent handling of missing values. Moving forward, I will apply this practice across other relevant sections to maintain uniformity
src/pages/offer/PeersTable.tsx
Outdated
{/* Compute units */} | ||
<Cell> | ||
<Text size={12}>{peer.computeUnits.length}</Text> | ||
</Cell> | ||
{/* Current Capacity Commitment */} | ||
{/* Status */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just remove this. Serves no purpose
{/* Status */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that such comments are likely redundant and can be removed throughout the codebase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left minor suggestions, didn't run the code, hopefully you checked it works
don't forget to remove this patch when deal-ts-clients is released
also in the future move these queries out of deal-ts-clients completely
Co-authored-by: shamsartem <[email protected]>
No description provided.