Skip to content

Commit

Permalink
add blank first research domain option
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamelers committed Nov 14, 2024
1 parent a0c88d1 commit 83b7792
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function ResearchDomain({
formik.handleSubmit();
}}
>
<option value="" aria-label="Choose a research domain" />
{subjectList.map((subj, index) => {
// key made from subj + count of preceding duplicates
const key = subj + subjectList.slice(0, index).filter((s) => s === subj).length;
Expand Down

0 comments on commit 83b7792

Please sign in to comment.