Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 469
ORG-83 userInvitations in useOrganizationList#1520
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
1ec03608b84a57ee1b11b8dcef3b02e9d730d43a2de107cc4affc02729dc7ef34484b6File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| '@clerk/clerk-js': minor | ||
| '@clerk/shared': minor | ||
| '@clerk/clerk-react': minor | ||
| '@clerk/types': minor | ||
| --- | ||
| Introduces userInvitations from `useOrganizationList` | ||
| `userInvitations` is a paginated list of data. It can be used to create Paginated tables or Infinite lists. | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| import { OrganizationContext, useOrganization, useOrganizationList, useOrganizations } from '@clerk/shared'; | ||
| import { OrganizationProvider, useOrganization, useOrganizationList, useOrganizations } from '@clerk/shared'; | ||
| export const CoreOrganizationContext = OrganizationContext; | ||
| export const CoreOrganizationProvider = OrganizationProvider; | ||
| export const useCoreOrganization = useOrganization; | ||
| export const useCoreOrganizationList = useOrganizationList; | ||
| export const useCoreOrganizations = useOrganizations; |
Uh oh!
There was an error while loading. Please reload this page.
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.
Could you please explain why we need this?
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.
This is passed from
MockClerkProviderdown toCoreOrganizationProviderin order to clear swr cache between tests