Import source: cshare-app/src/components/PageTransition

Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
arsam
2026-09-18 23:14:14 +03:30
parent bbd93de4c6
commit 7d854b0d24
@@ -0,0 +1,11 @@
import { useLocation } from 'react-router-dom';
export default function PageTransition({ children }) {
const { pathname } = useLocation();
return (
<div key={pathname} className="page-enter">
{children}
</div>
);
}