From 726cf9066fc89e8a97b2c9f04a0380fd55648eed Mon Sep 17 00:00:00 2001 From: nickviola Date: Wed, 13 Mar 2024 14:06:17 -0500 Subject: [PATCH] Fix typo in getOrgsUrl function calls --- frontend/src/components/OrganizationList/OrganizationList.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/OrganizationList/OrganizationList.tsx b/frontend/src/components/OrganizationList/OrganizationList.tsx index 5b838b96..59c9d057 100644 --- a/frontend/src/components/OrganizationList/OrganizationList.tsx +++ b/frontend/src/components/OrganizationList/OrganizationList.tsx @@ -72,7 +72,7 @@ export const OrganizationList: React.FC<{ const fetchOrganizations = useCallback(async () => { try { - const rows = await apiGet(orgsURL); + const rows = await apiGet(orgsUrl); // rows.forEach((obj) => { // // obj.userCount = obj.userRoles.length; // obj.tagNames = obj.tags.map((tag) => tag.name); @@ -81,7 +81,7 @@ export const OrganizationList: React.FC<{ } catch (e) { console.error(e); } - }, [apiGet, orgsURL]); + }, [apiGet, orgsUrl]); useEffect(() => { if (!parent) fetchOrganizations();