-
Notifications
You must be signed in to change notification settings - Fork 74
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
feat(bonsai-ui): migrate position action cell and triggers dialog, delete some old stuff #1465
Conversation
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.
notes to self, but I don't think these issues are blocking
); | ||
}, | ||
}); | ||
const tpslOrdersByPositionUniqueId = useParameterizedSelector( |
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.
more renders here
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.
if we are using parameterized selector here, should we update getSubaccountConditionalOrders
and remove the arrow function?
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.
need it for the paramaterized to work
const { asset, entryPrice, size, stepSizeDecimals, tickSizeDecimals, oraclePrice } = | ||
useParameterizedSelector(getPositionDetails, marketId) ?? {}; | ||
const { stopLossOrders, takeProfitOrders } = orEmptyObj( | ||
useParameterizedSelector(getSubaccountConditionalOrders, isSlTpLimitOrdersEnabled)[ |
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.
more renders here
No description provided.