{"version":3,"file":"static/js/1451.8d139114.chunk.js","mappings":"4JAGA,MAUA,EAV8BA,KAC5B,MAAM,SAAEC,IAAaC,EAAAA,EAAAA,MAMrB,OAJAC,EAAAA,EAAAA,YAAU,KACRC,OAAOC,SAAS,CAAEC,IAAK,EAAGC,KAAM,EAAGC,SAAU,WAAY,GACxD,CAACP,IAEG,IAAI,C","sources":["components/ScrollToTop/ScrollToTop.tsx"],"sourcesContent":["import { useEffect } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nconst ScrollToTop: React.FC = () => {\n const { pathname } = useLocation();\n\n useEffect(() => {\n window.scrollTo({ top: 0, left: 0, behavior: 'instant' });\n }, [pathname]);\n\n return null;\n};\n\nexport default ScrollToTop;\n"],"names":["ScrollToTop","pathname","useLocation","useEffect","window","scrollTo","top","left","behavior"],"sourceRoot":""}