Condense line
This commit is contained in:
parent
e938e70aae
commit
b46ca3da29
|
@ -216,8 +216,7 @@ export function CommentInput(props: {
|
|||
async function submitComment() {
|
||||
if (!comment) return
|
||||
if (!user) {
|
||||
await firebaseLogin()
|
||||
return
|
||||
return await firebaseLogin()
|
||||
}
|
||||
await createComment(contract.id, comment, user)
|
||||
setComment('')
|
||||
|
|
Loading…
Reference in New Issue
Block a user