mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 13:49:57 -05:00
Converting AppsRoute to function.
This commit is contained in:
parent
1d36801749
commit
934578198f
1 changed files with 8 additions and 10 deletions
|
|
@ -143,14 +143,12 @@ class OTP extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
export class AppsRoute extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<>
|
||||
<Container fluid>
|
||||
<Route path='/apps/otp' exact component={OTP}/>
|
||||
</Container>
|
||||
</>
|
||||
)
|
||||
}
|
||||
export function AppsRoute(props) {
|
||||
return (
|
||||
<>
|
||||
<Container fluid>
|
||||
<Route path='/apps/otp' exact component={OTP}/>
|
||||
</Container>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue