Add profile usage dashboard#51
Conversation
❌ Deploy Preview for tera-ai failed.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 78aa621c69
ℹ️ 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".
| useEffect(() => { | ||
| void refreshWebSearchStatus() | ||
| }, [refreshWebSearchStatus]) |
There was a problem hiding this comment.
Restore periodic refresh of web-search quota status
This effect now performs a single fetch and never refreshes again, so webSearchRemaining can become stale during long sessions when usage changes outside this component (for example, searches from another tab/device or backend limit responses). In that state, the UI can continue showing web search as available and let users submit requests that are guaranteed to fail until a reload; add a periodic refresh or refresh on limit-error paths to keep the quota indicator accurate.
Useful? React with 👍 / 👎.
No description provided.