fix ESlint and errors from merge
This commit is contained in:
parent
075cbc9fdb
commit
b882db5018
|
@ -8,7 +8,6 @@ import { RelativeTimestamp } from './relative-timestamp'
|
|||
import { UserLink } from './user-page'
|
||||
import { User } from 'common/user'
|
||||
import { Col } from './layout/col'
|
||||
import { Linkify } from './linkify'
|
||||
import { groupBy } from 'lodash'
|
||||
import { Content } from './editor'
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import { Tipper } from '../tipper'
|
|||
import { CommentTipMap, CommentTips } from 'web/hooks/use-tip-txns'
|
||||
import { useWindowSize } from 'web/hooks/use-window-size'
|
||||
import { Content, TextEditor, useTextEditor } from '../editor'
|
||||
import { Editor, JSONContent } from '@tiptap/react'
|
||||
import { Editor } from '@tiptap/react'
|
||||
|
||||
export function FeedCommentThread(props: {
|
||||
contract: Contract
|
||||
|
|
|
@ -92,8 +92,8 @@ export function GroupChat(props: {
|
|||
|
||||
useEffect(() => {
|
||||
// is mobile?
|
||||
if (inputRef && width && width > 720) inputRef.focus()
|
||||
}, [inputRef, width])
|
||||
if (width && width > 720) focusInput()
|
||||
}, [width, focusInput])
|
||||
|
||||
function onReplyClick(comment: Comment) {
|
||||
setReplyToUser({ id: comment.userId, username: comment.userUsername })
|
||||
|
|
Loading…
Reference in New Issue
Block a user