Skip to content

Commit 101b80d

Browse files
committed
Improve comment
1 parent b8526b0 commit 101b80d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ui/src/components/OrganizationProfile/InviteMembersForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ const AsyncRoleSelect = (field: ReturnType<typeof useFormControl<'role'>>) => {
199199
return;
200200
}
201201

202-
// Skip if the default role from org settings is not in the current role set.
203-
// This will eventually be returned by the roles endpoint
202+
// Skip if the default role from org settings is not in the current role set
203+
// This will eventually be returned by the roles endpoint, and `organizationSettings.domains.defaultRole` will be deprecated
204204
const defaultRoleExists = options?.some(option => option.value === defaultRole);
205205
if (!defaultRoleExists) {
206206
return;

0 commit comments

Comments
 (0)