Hotfix/author comments render (#446)

Fix comments fetching
This commit is contained in:
Ilya Y 2024-04-24 11:08:00 +03:00 committed by GitHub
parent 4a7a052d67
commit c1d1f05edf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -128,7 +128,7 @@ export const AuthorView = (props: Props) => {
const fetchComments = async (commenter: Author) => {
const data = await apiClient.getReactionsBy({
by: { comment: false, created_by: commenter.id },
by: { comment: true, created_by: commenter.id },
})
setCommented(data)
}