Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / applications / drive / src / app / containers / PhotosContainer.tsx
blob3b46ef10101e84574f7f42c4c6f0d1db2690830d
1 import type { FC } from 'react';
2 import type { RouteComponentProps } from 'react-router-dom';
3 import { Redirect, Route, Switch } from 'react-router-dom';
5 import { PhotosView } from '../components/sections/Photos';
7 export const PhotosContainer: FC<RouteComponentProps> = ({ match }) => {
8     return (
9         <Switch>
10             <Route path={match.url} exact component={PhotosView} />
11             <Redirect to="/photos" />
12         </Switch>
13     );