Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / applications / drive / src / app / containers / DevicesContainer.tsx
blob3d83b1d4e580e909615e93f1bb8ffd318a5b0891
1 import type { RouteComponentProps } from 'react-router-dom';
2 import { Redirect, Route, Switch } from 'react-router-dom';
4 import DevicesView from '../components/sections/Devices/DevicesView';
6 const DevicesContainer = ({ match }: RouteComponentProps) => {
7     return (
8         <Switch>
9             <Route path={match.url} exact component={DevicesView} />
10             <Redirect to="/devices" />
11         </Switch>
12     );
15 export default DevicesContainer;