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