Skip to content

Add number of open position to the “open position” sectionAdd spinner…#137

Open
abhi-apple wants to merge 1 commit intomainfrom
abhinayapple/dw-551/add-position-counter-to
Open

Add number of open position to the “open position” sectionAdd spinner…#137
abhi-apple wants to merge 1 commit intomainfrom
abhinayapple/dw-551/add-position-counter-to

Conversation

@abhi-apple
Copy link

… or a default value if data is not fetched yet

… or a default value if data is not fetched yet
@cloudflare-workers-and-pages
Copy link

Deploying interface with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2bc74d1
Status: ✅  Deploy successful!
Preview URL: https://6840f2a9.interface-ctb.pages.dev
Branch Preview URL: https://abhinayapple-dw-551-add-posi.interface-ctb.pages.dev

View logs

@0xelMag0
Copy link
Collaborator

The executed orders do not have a counter


interface CollapsibleProps {
label: string
label: React.ReactNode // <-- this is the fix
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove the comment

) ?? [[], []]
Boolean(!account)

const openOrdersLabel = `${t`Open Orders`} (${openPositions.length})`
Copy link
Collaborator

Choose a reason for hiding this comment

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

where is this used ?

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