-
Notifications
You must be signed in to change notification settings - Fork 66
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
chore(displayId): Migrate marketId rendering to displayId #919
chore(displayId): Migrate marketId rendering to displayId #919
Conversation
…dit-usage-of-market-from
…dit-usage-of-market-from
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
seems sane
is there a similar set of changes for asset ids? We display those in tags and things all over. |
assetIds were also changed in abacus. So instead of deriving the assetIds from marketId they are now derived from displayId |
…dit-usage-of-market-from
Replace
marketId
usage withdisplayId
Views
<TradeHeaderMobile>
displayId
instead ofmarket
<MarketSelectorAndStats>
getCurrentMarketId
->getCurrentMarketDisplayId
<MarketDetails>
/<FillDetailsDialog>
/<OrderDetailsDialog>
ticker
row to exposemarketId
<PositionsTable>
/<OrdersTable>
displayId
for<MarketTableCell>
Hooks
hooks/useMarketsData
/<Markets>
State
state/perpetualsSelectors
getCurrentMarketDisplayId
Packages
v4-abacus
displayId