fix history race on flat comment click

This commit is contained in:
k00b 2025-01-30 17:08:16 -06:00
parent bb916b8669
commit 33beb1dc52

View File

@ -81,6 +81,7 @@ export function CommentFlat ({ item, rank, siblingComments, ...props }) {
<LinkToContext <LinkToContext
className='py-2' className='py-2'
onClick={e => { onClick={e => {
e.preventDefault()
router.push(href, as) router.push(href, as)
}} }}
href={href} href={href}