aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/comments/CommentsContainer.tsx2
-rw-r--r--src/services/UserProfileService.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/components/comments/CommentsContainer.tsx b/src/components/comments/CommentsContainer.tsx
index 595ec743..d839ef38 100644
--- a/src/components/comments/CommentsContainer.tsx
+++ b/src/components/comments/CommentsContainer.tsx
@@ -49,7 +49,7 @@ const CommentsContainer: React.FC<CommentsContainerProps> = ({
count += 1 + comments[i].replies_count;
}
return count;
- }
+ };
useEffect(() => {
const loadComments = async () => {
diff --git a/src/services/UserProfileService.ts b/src/services/UserProfileService.ts
index 8b7b78e1..19d353aa 100644
--- a/src/services/UserProfileService.ts
+++ b/src/services/UserProfileService.ts
@@ -442,7 +442,7 @@ export const verifyExistingInformation = async (
const form = new FormData();
if (email) {
form.append('email', email);
- }
+ }
if (username) {
form.append('username', username);
}
@@ -453,7 +453,7 @@ export const verifyExistingInformation = async (
},
body: form,
});
- return response.status===200;
+ return response.status === 200;
} catch (error) {
console.log(error);
return false;