Skip to content

Commit

Permalink
fix: default scrollToTop true
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Tsipotan committed Nov 14, 2023
1 parent 6da13b0 commit 708d98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface RoutesProps {
}

/** Routing component with initial and meta data */
export const Routes: React.FC<RoutesProps> = ({routes, scrollToTop}) => {
export const Routes: React.FC<RoutesProps> = ({routes, scrollToTop = true}) => {
const location = useLocation()
const navigate = useNavigate()

Expand Down

0 comments on commit 708d98b

Please sign in to comment.