| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a88ad377-eda5-bdb2-7be6-803f4f3bde50 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DCB2:144D5F:105FB0A:16B7BDC:6AFACEF3 |
| html-safe-nonce | d48797c69af0b86df2efbda883505ffb164881a67490e6b0cd9eb41be0402992 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0IyOjE0NEQ1RjoxMDVGQjBBOjE2QjdCREM6NkFGQUNFRjMiLCJ2aXNpdG9yX2lkIjoiNjU5ODk1MzU0MTEwNjg0NzQ3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a28bbd739c2fbfd92c43f798da6eac904d464c55128a7e222fe4d5b0af4834e8 |
| hovercard-subject-tag | pull_request:3396780072 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/8077/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/0a8173edf4fccd9b442d0ef3f419dfeef7e4e16248f3d4d9f7db06273473e0e5/clerk/javascript/pull/8077 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a8173edf4fccd9b442d0ef3f419dfeef7e4e16248f3d4d9f7db06273473e0e5/clerk/javascript/pull/8077 |
| og:image:alt | Description
This PR fixes an issue where the Switch to annual button was being rendered for default plans.
Checklist
pnpm test runs as expected.
pnpm build runs as expected.
(If applicable) JSD... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dstaley |
| hostname | github.com |
| expected-hostname | github.com |
| None | aa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290 |
| turbo-cache-control | no-cache |
| go-import | github.com/clerk/javascript git https://github.com/clerk/javascript.git |
| octolytics-dimension-user_id | 49538330 |
| octolytics-dimension-user_login | clerk |
| octolytics-dimension-repository_id | 438331492 |
| octolytics-dimension-repository_nwo | clerk/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438331492 |
| octolytics-dimension-repository_network_root_nwo | clerk/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be9dc02df8087c7449fb60a416e138c34108ed94 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/clerk/javascript/pull/8077#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8077 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8077 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript |
| Reload | https://github.com/clerk/javascript/pull/8077 |
| Reload | https://github.com/clerk/javascript/pull/8077 |
| Reload | https://github.com/clerk/javascript/pull/8077 |
| clerk | https://github.com/clerk |
| javascript | https://github.com/clerk/javascript |
| Code | https://github.com/clerk/javascript |
| Issues44 (44) | https://github.com/clerk/javascript/issues |
| Pull requests112 (112) | https://github.com/clerk/javascript/pulls |
| Discussions | https://github.com/clerk/javascript/discussions |
| Actions | https://github.com/clerk/javascript/actions |
| Security and quality6 (6) | https://github.com/clerk/javascript/security |
| Insights | https://github.com/clerk/javascript/pulse |
| https://github.com/clerk/javascript |
| dstaley | https://github.com/dstaley |
| main | https://github.com/clerk/javascript/tree/main |
| ds.fix/isdefault-isswitchable | https://github.com/clerk/javascript/tree/ds.fix/isdefault-isswitchable |
| Conversation | https://github.com/clerk/javascript/pull/8077 |
| Commits1 (1) | https://github.com/clerk/javascript/pull/8077/commits |
| Checks | https://github.com/clerk/javascript/pull/8077/checks |
| Files changed | https://github.com/clerk/javascript/pull/8077/files |
| fix(ui): Factor in isDefault into isSwitchable | https://github.com/clerk/javascript/pull/8077#top |
| dstaley | https://github.com/dstaley |
| main | https://github.com/clerk/javascript/tree/main |
| ds.fix/isdefault-isswitchable | https://github.com/clerk/javascript/tree/ds.fix/isdefault-isswitchable |
|
| https://github.com/dstaley |
| dstaley | https://github.com/dstaley |
| Mar 13, 2026 | https://github.com/clerk/javascript/pull/8077#issue-4073048563 |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| JSDoc comments | https://jsdoc.app/about-getting-started.html |
| Documentation | https://github.com/clerk/clerk-docs |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
|
| https://github.com/dstaley |
| fix(ui): Factor in isDefault into isSwitchable | https://github.com/clerk/javascript/pull/8077/commits/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
| 93454b1 | https://github.com/clerk/javascript/pull/8077/commits/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
| https://github.com/dstaley |
| dstaley | https://github.com/dstaley |
| March 13, 2026 19:39 | https://github.com/clerk/javascript/pull/8077#event-23557941909 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| Mar 13, 2026 | https://github.com/clerk/javascript/pull/8077#issuecomment-4057534664 |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| Vercel for GitHub | https://vercel.link/github-learn-more |
| clerk-js-sandbox | https://vercel.com/clerk-production/clerk-js-sandbox |
| https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667 |
| Ready | https://vercel.com/clerk-production/clerk-js-sandbox/82yN9VZ62jhheHLU5nHbnG6JpkDS |
| Preview | https://clerk-js-sandbox-git-dsfix-isdefault-isswitchable.clerkstage.dev |
| Comment | https://vercel.live/open-feedback/clerk-js-sandbox-git-dsfix-isdefault-isswitchable.clerkstage.dev?via=pr-comment-feedback-link |
| https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=8077 |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| https://github.com/apps/changeset-bot |
| changeset-bot | https://github.com/apps/changeset-bot |
| Mar 13, 2026 | https://github.com/clerk/javascript/pull/8077#issuecomment-4057534750 |
| 93454b1 | https://github.com/clerk/javascript/commit/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
| Click here to learn what changesets are | https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md |
| Click here if you're a maintainer who wants to add another changeset to this PR | https://github.com/clerk/javascript/new/ds.fix/isdefault-isswitchable?filename=.changeset/stale-pandas-buy.md&value=---%0A%22%40clerk%2Fui%22%3A%20patch%0A---%0A%0Afix(ui)%3A%20Factor%20in%20isDefault%20into%20isSwitchable%0A |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
ui
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aui |
| Mar 13, 2026 | https://github.com/clerk/javascript/pull/8077#event-23557946544 |
| https://github.com/apps/vercel |
| vercel | https://github.com/apps/vercel |
| deployed | https://clerk-js-sandbox-cbk5edzi9.clerkstage.dev |
| Preview | https://clerk-js-sandbox-cbk5edzi9.clerkstage.dev |
| March 13, 2026 19:40 | https://github.com/clerk/javascript/pull/8077#event-23557951005 |
| View deployment | https://clerk-js-sandbox-cbk5edzi9.clerkstage.dev |
| https://github.com/aeliox |
| aeliox | https://github.com/aeliox |
|
Mar 13, 2026
| https://github.com/clerk/javascript/pull/8077#pullrequestreview-3946563962 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
| https://github.com/apps/pkg-pr-new |
| pkg-pr-new | https://github.com/apps/pkg-pr-new |
| Mar 13, 2026 | https://github.com/clerk/javascript/pull/8077#issuecomment-4057547715 |
| Open in StackBlitz | https://pkg.pr.new/template/3212f032-faa5-4c39-ba15-ae02d2c7aaa5 |
| 93454b1 | https://github.com/clerk/javascript/runs/67009935275 |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Mar 13, 2026 | https://github.com/clerk/javascript/pull/8077#issuecomment-4057552708 |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
|
Mar 13, 2026
| https://github.com/clerk/javascript/pull/8077#pullrequestreview-3946570102 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
| coderabbitai | https://github.com/apps/coderabbitai |
| https://github.com/clerk/javascript/pull/8077#pullrequestreview-3946570102 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 154eec9 | https://github.com/clerk/javascript/commit/154eec9eb9c320723f04f3ce2b8b0ada70f752bb |
| 93454b1 | https://github.com/clerk/javascript/commit/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| packages/ui/src/components/SubscriptionDetails/index.tsx | https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b#diff-17e7a10c36a8d6f94b45dc3fae0240bdedcd8c0d01cb5a1f835c92130dbf1f20 |
| coderabbitai | https://github.com/apps/coderabbitai |
| Mar 13, 2026 | https://github.com/clerk/javascript/pull/8077#discussion_r2933406404 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| https://github.com/l-armstrong |
| l-armstrong | https://github.com/l-armstrong |
|
Mar 13, 2026
| https://github.com/clerk/javascript/pull/8077#pullrequestreview-3946600259 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
| packages/ui/src/components/SubscriptionDetails/index.tsx | https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b#diff-17e7a10c36a8d6f94b45dc3fae0240bdedcd8c0d01cb5a1f835c92130dbf1f20 |
| l-armstrong | https://github.com/l-armstrong |
| Mar 13, 2026 | https://github.com/clerk/javascript/pull/8077#discussion_r2933429791 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| dstaley | https://github.com/dstaley |
| Mar 13, 2026 | https://github.com/clerk/javascript/pull/8077#discussion_r2933439022 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| https://github.com/l-armstrong |
| l-armstrong | https://github.com/l-armstrong |
|
Mar 13, 2026
| https://github.com/clerk/javascript/pull/8077#pullrequestreview-3946654743 |
|
View reviewed changes
| https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
| https://github.com/dstaley |
| dstaley | https://github.com/dstaley |
| ac2f1c1 | https://github.com/clerk/javascript/commit/ac2f1c1d9fb1b6cd46405895f8c7a2603adcaacf |
| Mar 18, 2026 | https://github.com/clerk/javascript/pull/8077#event-23697751875 |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
| https://github.com/dstaley |
| dstaley | https://github.com/dstaley |
| March 18, 2026 21:51 | https://github.com/clerk/javascript/pull/8077#event-23697752776 |
|
ci(repo): Version packages
#8109
| https://github.com/clerk/javascript/pull/8109 |
|
ci(repo): Version packages
#8120
| https://github.com/clerk/javascript/pull/8120 |
| wobsoriano | https://github.com/wobsoriano |
|
Mar 26, 2026
| https://github.com/clerk/javascript/pull/8077#ref-commit-678fdbe |
|
| https://github.com/dstaley |
|
| https://github.com/wobsoriano |
| fix(ui): Factor in isDefault into isSwitchable ( | https://github.com/clerk/javascript/commit/678fdbee13c30b2cae94db1f794e8c82cc1df5be |
| #8077 | https://github.com/clerk/javascript/pull/8077 |
| ) | https://github.com/clerk/javascript/commit/678fdbee13c30b2cae94db1f794e8c82cc1df5be |
| 678fdbe | https://github.com/clerk/javascript/commit/678fdbee13c30b2cae94db1f794e8c82cc1df5be |
| Deployed | https://clerk-js-sandbox-cbk5edzi9.clerkstage.dev |
| vercel[bot] | https://github.com/apps/vercel |
|
View deployment
| https://clerk-js-sandbox-cbk5edzi9.clerkstage.dev |
| https://github.co/hiddenchars |
| https://github.com/clerk/javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8077 |
|
| https://github.com/apps/coderabbitai |
|
coderabbitai[bot]
| https://github.com/apps/coderabbitai |
|
| https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
|
| https://github.com/aeliox |
|
aeliox
| https://github.com/aeliox |
|
| https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
|
| https://github.com/l-armstrong |
|
l-armstrong
| https://github.com/l-armstrong |
|
| https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
|
ui
| https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aui |
| Please reload this page | https://github.com/clerk/javascript/pull/8077 |
|
| https://github.com/dstaley |
|
| https://github.com/aeliox |
|
| https://github.com/l-armstrong |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |