-
Notifications
You must be signed in to change notification settings - Fork 343
fix(clerk-js): Call setActive after closing checkout drawer #5916
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: main
Are you sure you want to change the base?
Conversation
# Conflicts: # packages/clerk-js/src/ui/components/Checkout/useCheckout.ts # packages/clerk-js/src/ui/contexts/components/Plans.tsx
🦋 Changeset detectedLatest commit: d8ff554 The changes in this PR will be included in the next version bump. This PR includes changesets to release 22 packages
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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
})); | ||
setState(s => { | ||
const currentItem = s[`${name}Drawer`]; | ||
// @ts-expect-error `__internal_PlanDetailsProps` does not accept `onClose` |
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.
Any strong reason it shouldn't have an onClose prop?
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.
Only reason is that we didn't need it. But when/if we or customers need it we can certainly add it.
Description
Checklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change