Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mateodaza committed Oct 10, 2024
1 parent 38a27d3 commit c51ee85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Modal/AttestModal.tsx/AttestModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ export const AttestModal: FC<AttestModalProps> = ({
result.push(ao);
}
}
// preselect if only one org
if (result.length === 1) {
setSelectedOrg(result[0]);
}

return result;
};
Expand Down

0 comments on commit c51ee85

Please sign in to comment.