diff --git a/src/components/Article/Comment/Comment.tsx b/src/components/Article/Comment/Comment.tsx index 316f0fa2..a0fee501 100644 --- a/src/components/Article/Comment/Comment.tsx +++ b/src/components/Article/Comment/Comment.tsx @@ -71,8 +71,6 @@ export const Comment = (props: Props) => { } await showSnackbar({ body: t('Comment successfully deleted') }) } - - } catch (error) { console.error('[deleteReaction]', error) } diff --git a/src/components/Views/Author/Author.tsx b/src/components/Views/Author/Author.tsx index b519ca28..ad9f5f66 100644 --- a/src/components/Views/Author/Author.tsx +++ b/src/components/Views/Author/Author.tsx @@ -139,7 +139,7 @@ export const AuthorView = (props: Props) => { ) const description = createMemo(() => getDescription(author()?.bio)) const handleDeleteComment = (id: number) => { - setCommented((prev) => prev.filter((comment) => comment.id !== id)); + setCommented((prev) => prev.filter((comment) => comment.id !== id)) } return ( @@ -235,14 +235,14 @@ export const AuthorView = (props: Props) => {
diff --git a/src/graphql/client/core.ts b/src/graphql/client/core.ts index b46cdc27..bfc0e03f 100644 --- a/src/graphql/client/core.ts +++ b/src/graphql/client/core.ts @@ -135,7 +135,7 @@ export const apiClient = { user?: string }): Promise => { const response = await publicGraphQLClient.query(authorFollows, params).toPromise() - console.log("!!! response:", response); + console.log('!!! response:', response) return response.data.get_author_follows },