Repository navigation
Add market trade data to symbol charts - #1226
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c9e688acab
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| refetchOnMountOrArgChange: true, | ||
| }); | ||
|
|
||
| const { currentData: contract } = useFuturesContractQuery(symbol, { skip }); |
There was a problem hiding this comment.
Handle contract-query failures and provide a retry path
If the contract request fails on initial load, successful trade responses still cannot produce a summary because contract remains undefined. Only the trade query's loading and error states are rendered, so the card becomes blank without explaining the failure. Polling trades does not retry the separate contract query. Include the contract query's loading/error states and provide a way to retry it so a transient contract-request failure does not leave the chart unavailable for the rest of the mounted session.
Useful? React with 👍 / 👎.
c8e6556 to
ac506d1
Compare
ac506d1 to
61afe37
Compare
0e1d57a to
8a3d5d3
Compare
No description provided.