-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(clerk-js): In <CreateOrganization /> skip invitation page if max …
…allowed memberships equal 1 This commit modifies the logic of the <CreateOrganization /> component to handle the case the newly create organization has max allowed memberships equal to 1. In this case, we shouldn't render the invitation page, as the user can't invite any more members, and they will need to skip it either way
- Loading branch information
1 parent
e303684
commit cf91866
Showing
2 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@clerk/clerk-js': patch | ||
--- | ||
|
||
In the <CreateOrganization /> component, if the newly created organization has max allowed membership equal to 1, skip the invitation page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters