fix ESlint and errors from merge

This commit is contained in:
Sinclair Chen 2022-08-04 15:40:15 -07:00
parent 075cbc9fdb
commit b882db5018
3 changed files with 3 additions and 4 deletions

View File

@ -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'

View File

@ -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

View File

@ -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 })