always scroll to top on route change, except on back nav

This commit is contained in:
Martti Malmi
2024-02-16 10:27:54 +02:00
parent 73753c2764
commit 86906682f9
5 changed files with 10 additions and 6 deletions

View File

@ -225,7 +225,6 @@ export function ThreadRoute({ id }: { id?: string }) {
return (
<ThreadContextWrapper link={link}>
<ScrollToTop />
<Thread />
</ThreadContextWrapper>
);