diff --git a/src/components/views/comments/comments.tsx b/src/components/views/comments/comments.tsx index 948d99f0..5fec24e9 100644 --- a/src/components/views/comments/comments.tsx +++ b/src/components/views/comments/comments.tsx @@ -23,9 +23,12 @@ const Comments: FC = () => { } else { document.title = 'seedit'; } - window.scrollTo(0, 0); }, [threadTitle, subplebbitTitle]); + useEffect(() => { + window.scrollTo(0, 0); + }, []); + return (