Skip to content

Commit e6eebe8

Browse files
committed
fix: pass missing props to Router
1 parent 1942c2b commit e6eebe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/routes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const RouteWithTitleUpdates = ({ component: Component, isAsync = false, title, .
8989
return <Component {...rest} {...routeProps} />;
9090
}
9191

92-
return <Route render={routeWithTitle} />;
92+
return <Route render={routeWithTitle} {...rest}/>;
9393
};
9494

9595
const PageNotFound = ({ title }: { title: string }) => {

0 commit comments

Comments
 (0)