Add project files
Verificar despliegue Docker / build (push) Has been cancelled

This commit is contained in:
Andres Santana
2026-10-02 11:12:37 -04:00
parent 10d76c094f
commit 47cf941ba7
177 changed files with 31728 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { useLocation } from 'react-router-dom';
import { useLayoutEffect } from 'react';
const ScrollToTop = () => {
const { pathname } = useLocation();
useLayoutEffect(() => {
window.scrollTo({ top: 0, left: 0, behavior: 'instant' });
}, [pathname]);
return null;
}
export default ScrollToTop;