set comment sort default to newest
This commit is contained in:
parent
1d645e5ff8
commit
fd31b7eaca
|
@ -75,7 +75,7 @@ const CommentsTabContent = memo(function CommentsTabContent(props: {
|
|||
const { contract } = props
|
||||
const tips = useTipTxns({ contractId: contract.id })
|
||||
const comments = useComments(contract.id) ?? props.comments
|
||||
const [sort, setSort] = useState<'Newest' | 'Best'>('Best')
|
||||
const [sort, setSort] = useState<'Newest' | 'Best'>('Newest')
|
||||
const me = useUser()
|
||||
if (comments == null) {
|
||||
return <LoadingIndicator />
|
||||
|
|
Loading…
Reference in New Issue
Block a user