scroll to top on opening notifications & thread pages
This commit is contained in:
@ -10,6 +10,7 @@ import BackButton from "@/Components/Button/BackButton";
|
||||
import Collapsed from "@/Components/Collapsed";
|
||||
import Note from "@/Components/Event/EventComponent";
|
||||
import NoteGhost from "@/Components/Event/Note/NoteGhost";
|
||||
import ScrollToTop from "@/Components/ScrollToTop";
|
||||
import { chainKey } from "@/Utils/Thread/ChainKey";
|
||||
import { ThreadContext } from "@/Utils/Thread/ThreadContext";
|
||||
import { ThreadContextWrapper } from "@/Utils/Thread/ThreadContextWrapper";
|
||||
@ -224,6 +225,7 @@ export function ThreadRoute({ id }: { id?: string }) {
|
||||
|
||||
return (
|
||||
<ThreadContextWrapper link={link}>
|
||||
<ScrollToTop />
|
||||
<Thread />
|
||||
</ThreadContextWrapper>
|
||||
);
|
||||
|
Reference in New Issue
Block a user