diff --git a/packages/sdk-react/src/components/auth/Auth.tsx b/packages/sdk-react/src/components/auth/Auth.tsx index 841c6e8e..1ccaf67e 100644 --- a/packages/sdk-react/src/components/auth/Auth.tsx +++ b/packages/sdk-react/src/components/auth/Auth.tsx @@ -142,7 +142,7 @@ const Auth: React.FC = ({ !getVerifiedSuborgsResponse.organizationIds ) { onError(authErrors.suborg.fetchFailed); - return + return; } suborgId = getVerifiedSuborgsResponse?.organizationIds[0]; } else { @@ -152,7 +152,7 @@ const Auth: React.FC = ({ }); if (!getSuborgsResponse || !getSuborgsResponse.organizationIds) { onError(authErrors.suborg.fetchFailed); - return + return; } suborgId = getSuborgsResponse?.organizationIds[0]; }