From fcb4104856d3a91490d16a1a01e4b58cf0bd78de Mon Sep 17 00:00:00 2001 From: jamesjulich <51384945+jamesjulich@users.noreply.github.com> Date: Thu, 9 Sep 2021 01:06:25 -0500 Subject: [PATCH] Fix warnings related to line length. --- src/app/atoms/image-upload/ImageUpload.jsx | 2 +- src/app/molecules/profile-editor/ProfileEditor.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/atoms/image-upload/ImageUpload.jsx b/src/app/atoms/image-upload/ImageUpload.jsx index ef8bfa6..e8a2671 100644 --- a/src/app/atoms/image-upload/ImageUpload.jsx +++ b/src/app/atoms/image-upload/ImageUpload.jsx @@ -14,7 +14,7 @@ function ImageUpload({ }) { const uploadImageRef = useRef(null); - // Uploads the selected image and passes the resulting URI to the onUpload function provided in component props. + // Uploads image and passes resulting URI to onUpload function provided in component props. function uploadImage(e) { const file = e.target.files.item(0); if (file !== null) { // TODO Add upload progress spinner diff --git a/src/app/molecules/profile-editor/ProfileEditor.jsx b/src/app/molecules/profile-editor/ProfileEditor.jsx index 4bbf00f..797c400 100644 --- a/src/app/molecules/profile-editor/ProfileEditor.jsx +++ b/src/app/molecules/profile-editor/ProfileEditor.jsx @@ -37,7 +37,7 @@ function ProfileEditor({ } } - // Enables/disables save button depending on whether or not the username is different than the current. + // Enables/disables button depending on if the typed displayname is different than the current. function onDisplayNameInputChange() { setDisabled((username === displayNameRef.current.value) || displayNameRef.current.value === '' || displayNameRef.current.value == null); }