diff --git a/src/components/routes.tsx b/src/components/routes.tsx index d5a3f0b..0e6d8a4 100644 --- a/src/components/routes.tsx +++ b/src/components/routes.tsx @@ -17,7 +17,7 @@ export interface RoutesProps { } /** Routing component with initial and meta data */ -export const Routes: React.FC = ({routes, scrollToTop}) => { +export const Routes: React.FC = ({routes, scrollToTop = true}) => { const location = useLocation() const navigate = useNavigate()