diff --git a/apps/medium/src/app/(user)/chat/[id]/clean-up.tsx b/apps/medium/src/app/(user)/chat/[id]/clean-up.tsx index dffbb1c..8b35fc1 100644 --- a/apps/medium/src/app/(user)/chat/[id]/clean-up.tsx +++ b/apps/medium/src/app/(user)/chat/[id]/clean-up.tsx @@ -32,16 +32,5 @@ export default function CleanUp({ } }, [id]) - useLayoutEffect(() => { - setTimeout(() => { - window.scrollTo({ - top: - document.getElementsByClassName('page')[0]?.clientHeight ?? - document.body.clientHeight, - behavior: 'smooth' - }) - }, 400) - }, []) - return null }