Skip to content

Commit

Permalink
Remove passing of unnecessary props
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Jul 11, 2023
1 parent d7eb949 commit 8896f58
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions astroplant-frontend/src/scenes/kit/configure/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ export default function KitConfigure(props: Props) {
</pre>
</Message>
<Switch>
<Route
path={`${path}/create`}
render={(_routeProps) => <Create {...props} />}
/>
<Route path={`${path}/create`} render={(_routeProps) => <Create />} />
<Route
path={`${path}/:configurationId`}
render={(routeProps: any) => <View {...routeProps} />}
Expand Down

0 comments on commit 8896f58

Please sign in to comment.