From dfd646343ec2fd01ca4f6d8e9f9f9e73b09b0c5e Mon Sep 17 00:00:00 2001 From: vzhang03 Date: Fri, 2 Aug 2024 17:07:41 -0400 Subject: [PATCH] Fixing build error --- packages/frontend/src/components/upload/AuthorForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/upload/AuthorForm.tsx b/packages/frontend/src/components/upload/AuthorForm.tsx index 78a1761..cb12c30 100644 --- a/packages/frontend/src/components/upload/AuthorForm.tsx +++ b/packages/frontend/src/components/upload/AuthorForm.tsx @@ -54,7 +54,7 @@ const AuthorForm: React.FC = ({ 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