Skip to content

Conversation

@panteliselef
Copy link
Member

@panteliselef panteliselef commented Apr 25, 2025

Description

  • Add user id to the cache key of invoices
  • Marks invoices as stale after a successful checkout in order to fetch fresh data once the hook remounts ( user switches to the invoices tab)

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link

changeset-bot bot commented Apr 25, 2025

🦋 Changeset detected

Latest commit: f675fe0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Apr 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 25, 2025 10:23am

@panteliselef panteliselef merged commit 8145835 into main Apr 25, 2025
31 checks passed
@panteliselef panteliselef deleted the elef/com-564-bug-invalidate-invoices-after-checkout branch April 25, 2025 10:56
@panteliselef panteliselef self-assigned this Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants