Skip to content

Commit b2512a7

Browse files
committed
fix update type mismatch for organizations again
1 parent 6570b51 commit b2512a7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

site/src/pages/ManagementSettingsPage/OrganizationProvisionersPage.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,9 @@ const OrganizationProvisionersPage: FC = () => {
5959

6060
export default OrganizationProvisionersPage;
6161

62-
const getOrganizationByName = (organizations: Organization[], name: string) =>
63-
organizations.find((org) => org.name === name);
62+
const getOrganizationByName = (
63+
organizations: readonly Organization[],
64+
name: string,
65+
) => {
66+
return organizations.find((org) => org.name === name);
67+
};

0 commit comments

Comments
 (0)