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