Converting AppsRoute to function.

This commit is contained in:
Roland 2022-01-29 22:34:37 -07:00
parent 1d36801749
commit 934578198f
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -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>
</>
)
}