Skip to content

Commit

Permalink
Merge branch 'ans-UID2-3992-better-ux-when-no-participant-access' of h…
Browse files Browse the repository at this point in the history
…ttps://github.com/IABTechLab/uid2-self-serve-portal into ans-UID2-3992-better-ux-when-no-participant-access
  • Loading branch information
alex-yau-ttd committed Oct 16, 2024
2 parents 3556c33 + 3e3ddb2 commit 4e45a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function AppContent() {
if (LoggedInUser?.user?.participants!.length === 0) {
return <ErrorView message='You do not have access to any participants.' />;
}
if (LoggedInUser && (!participant || !participant.id)) {
if (LoggedInUser && !participant) {
return <NoParticipantAccessView />;
}

Expand Down

0 comments on commit 4e45a87

Please sign in to comment.