Skip to content

Commit

Permalink
updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dcgleason committed Jan 3, 2023
1 parent 3731a03 commit 3f52611
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pages/contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const CSV = () => {
email: email,
submitted: submitted,
submission: submission,
picture: picture, // starts as an empty string
picture: pictureSubmitted, // starts as an empty string
notes: notes,
};

Expand Down Expand Up @@ -392,7 +392,12 @@ const CSV = () => {
listType="picture"
className="avatar-uploader"
showUploadList={false}
action='api/upload' // POST request to this api endpoint for picture
action='api/upload' // POST request to this api endpoint for picture upload --> need to make pictureSubmitted == true in the new record created
/* via -->
setEditingStudent((pre) => {
return { ...pre, picture: true };
});
*/
onChange={handleChangeUpload}
>
<div>
Expand Down

0 comments on commit 3f52611

Please sign in to comment.