Skip to content

Commit fa336be

Browse files
authored
Merge pull request #113 from ajaypratap003/fix-bug
fix: pass missing props to Router
2 parents f31c1ba + e6eebe8 commit fa336be

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)