크리에이터 커뮤니티 댓글이 써지지 않던 버그 수정

This commit is contained in:
Yu Sung 2023-12-22 00:58:11 +09:00
parent d53392ddcd
commit 623640d410
1 changed files with 36 additions and 38 deletions

View File

@ -119,7 +119,6 @@ class CreatorCommunityAllViewModel: ObservableObject {
}
func createCommunityPostComment(comment: String, postId: Int, parentId: Int? = nil) {
if !isLoading && !isLast {
isLoading = true
repository.createCommunityPostComment(comment: comment, postId: postId, parentId: parentId)
@ -162,7 +161,6 @@ class CreatorCommunityAllViewModel: ObservableObject {
}
.store(in: &subscription)
}
}
func report(reason: String) {
isLoading = true