Skip to content

Commit

Permalink
Fix typo in getOrgsUrl function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
nickviola committed Mar 13, 2024
1 parent 51c8b87 commit 726cf90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/OrganizationList/OrganizationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const OrganizationList: React.FC<{

const fetchOrganizations = useCallback(async () => {
try {
const rows = await apiGet<Organization[]>(orgsURL);
const rows = await apiGet<Organization[]>(orgsUrl);
// rows.forEach((obj) => {
// // obj.userCount = obj.userRoles.length;
// obj.tagNames = obj.tags.map((tag) => tag.name);
Expand All @@ -81,7 +81,7 @@ export const OrganizationList: React.FC<{
} catch (e) {
console.error(e);
}
}, [apiGet, orgsURL]);
}, [apiGet, orgsUrl]);

useEffect(() => {
if (!parent) fetchOrganizations();
Expand Down

0 comments on commit 726cf90

Please sign in to comment.