1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend/src/page/archive/index.js
ivaosthu 59bcabe331 fix(router): Upgrade to react-router v. 4.x.
This is rather big change to react-router and
required a lot of rewrites.

Mostly followed this guide:
https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/migrating.md
2018-08-07 12:50:28 +02:00

11 lines
279 B
JavaScript

import React from 'react';
import Archive from '../../component/archive/archive-list-container';
import PropTypes from 'prop-types';
const render = ({ match }) => <Archive name={match.params.name} />;
render.propTypes = {
match: PropTypes.object,
};
export default render;