Skip to content

Commit

Permalink
Fixing build error
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhang03 committed Aug 2, 2024
1 parent 5fc108d commit dfd6463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/upload/AuthorForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const AuthorForm: React.FC<AuthorFormProps> = ({ jsPsychMetadata, updateMetadata
else jsPsychMetadata.setAuthor({ "name": name, "identifier": identifier});
}
else { // 1. need to check if name changed to delete 2. need to hanlde oldfields
const addAuthor = "this is where need to process fields and iterate through them checking if empty or not";
// const addAuthor = "this is where need to process fields and iterate through them checking if empty or not";

if (oldName === name){ // case where need handle old Fields
// add author
Expand Down

0 comments on commit dfd6463

Please sign in to comment.