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