Skip to content

Conversation

brendanhsentry
Copy link
Member

Copy link

linear bot commented Oct 8, 2025

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 8, 2025
@brendanhsentry brendanhsentry requested a review from a team October 8, 2025 22:10
@brendanhsentry brendanhsentry marked this pull request as ready for review October 8, 2025 22:11
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #101219   +/-   ##
========================================
  Coverage   81.04%    81.04%           
========================================
  Files        8675      8675           
  Lines      384883    384883           
  Branches    24311     24311           
========================================
  Hits       311940    311940           
  Misses      72584     72584           
  Partials      359       359           

} = useApiQuery<BillingHistory[]>([`/customers/${organization.slug}/history/`], {
staleTime: 0, // TODO(billing): Create an endpoint that returns the current history
} = useApiQuery<BillingHistory>([`/customers/${organization.slug}/history/current/`], {
staleTime: Infinity,
Copy link
Contributor

Choose a reason for hiding this comment

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

should we set this to never refresh? Can't remember how often a billing history changes ngl

@brendanhsentry brendanhsentry merged commit 446fcdc into master Oct 9, 2025
51 of 53 checks passed
@brendanhsentry brendanhsentry deleted the brendan/update-useCurrentBillingHistoryy branch October 9, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants