first commit

This commit is contained in:
dev-chiefworks
2024-01-10 11:05:21 -05:00
commit 2ce13271d8
1398 changed files with 91003 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
'use client'
import { useEffect } from "react";
import { usePathname } from "next/navigation";
export default function ScrollToTop() {
const pathname = usePathname();
useEffect(() => {
window.scrollTo(0, 0);
}, [pathname]);
return null;
}