fix history race on flat comment click
This commit is contained in:
parent
bb916b8669
commit
33beb1dc52
@ -81,6 +81,7 @@ export function CommentFlat ({ item, rank, siblingComments, ...props }) {
|
||||
<LinkToContext
|
||||
className='py-2'
|
||||
onClick={e => {
|
||||
e.preventDefault()
|
||||
router.push(href, as)
|
||||
}}
|
||||
href={href}
|
||||
|
Loading…
x
Reference in New Issue
Block a user