This commit is contained in:
ingawei 2022-10-12 01:26:51 -07:00
parent 020ddc052a
commit bd9233f8b7
3 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@ import Curve from 'web/public/custom-components/curve'
import { Avatar } from './avatar' import { Avatar } from './avatar'
import { TextEditor, useTextEditor } from './editor' import { TextEditor, useTextEditor } from './editor'
import { CommentsAnswer } from './feed/feed-answer-comment-group' import { CommentsAnswer } from './feed/feed-answer-comment-group'
import { ContractCommentInput, ReplyTo } from './feed/feed-comments' import { ContractCommentInput } from './feed/feed-comments'
import { Row } from './layout/row' import { Row } from './layout/row'
import { LoadingIndicator } from './loading-indicator' import { LoadingIndicator } from './loading-indicator'

View File

@ -6,7 +6,7 @@ import { CommentsAnswer } from '../feed/feed-answer-comment-group'
import { FeedCommentThread, ContractCommentInput } from '../feed/feed-comments' import { FeedCommentThread, ContractCommentInput } from '../feed/feed-comments'
import { groupBy, sortBy, sum } from 'lodash' import { groupBy, sortBy, sum } from 'lodash'
import { Bet } from 'common/bet' import { Bet } from 'common/bet'
import { AnyContractType, Contract } from 'common/contract' import { Contract } from 'common/contract'
import { PAST_BETS } from 'common/user' import { PAST_BETS } from 'common/user'
import { ContractBetsTable } from '../bets-list' import { ContractBetsTable } from '../bets-list'
import { Spacer } from '../layout/spacer' import { Spacer } from '../layout/spacer'

View File

@ -114,7 +114,6 @@ export function ParentFeedComment(props: {
} = props } = props
const { text, content, userUsername, userAvatarUrl } = comment const { text, content, userUsername, userAvatarUrl } = comment
const router = useRouter()
const { isReady, asPath } = useRouter() const { isReady, asPath } = useRouter()
const [highlighted, setHighlighted] = useState(false) const [highlighted, setHighlighted] = useState(false)
const commentRef = useRef<HTMLDivElement>(null) const commentRef = useRef<HTMLDivElement>(null)