From 3d5be1669d51cb7311321b2a40c20d13c82f00dd Mon Sep 17 00:00:00 2001 From: nickviola Date: Wed, 13 Mar 2024 15:00:42 -0500 Subject: [PATCH] Fix typo in getOrgsUrl function calls --- frontend/src/components/OrganizationList/OrganizationList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/OrganizationList/OrganizationList.tsx b/frontend/src/components/OrganizationList/OrganizationList.tsx index 59c9d057..9da9a46f 100644 --- a/frontend/src/components/OrganizationList/OrganizationList.tsx +++ b/frontend/src/components/OrganizationList/OrganizationList.tsx @@ -19,7 +19,7 @@ export const OrganizationList: React.FC<{ const regionId = user?.regionId; const getOrgsUrl = () => { - if (user?.userType == 'regionalAdmin') { + if (user?.userType === 'regionalAdmin') { return `/organizations/regionId/${regionId}`; } else { return `/v2/organizations/`;