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