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