-
Notifications
You must be signed in to change notification settings - Fork 431
feat(ui,shared): Export useOrganizationCreationDefaults hook
#7694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat(ui,shared): Export useOrganizationCreationDefaults hook
#7694
Conversation
🦋 Changeset detectedLatest commit: 09f5d94 The changes in this PR will be included in the next version bump. This PR includes changesets to release 20 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 GitHub.
|
9bcfd60 to
a06b4be
Compare
useOrganizationCreationDefaults hookuseOrganizationCreationDefaults hook
a06b4be to
9af7049
Compare
📝 WalkthroughWalkthroughAdds a new React hook 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
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.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
packages/ui/src/components/SessionTasks/tasks/TaskChooseOrganization/index.tsx (1)
17-26: Missing import foruseOrganizationCreationDefaults(build-breaker).
Line 20 referencesuseOrganizationCreationDefaultsbut it isn’t imported, which will fail TypeScript compilation.🔧 Proposed fix
-import { useClerk, useSession, useUser } from '@clerk/shared/react'; +import { useClerk, useOrganizationCreationDefaults, useSession, useUser } from '@clerk/shared/react';
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
f632ede to
47650d7
Compare
47650d7 to
679db6f
Compare
679db6f to
773b79b
Compare
Description
Port from #7690
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.