From 28600218226a9efc2d8099b16949c8d585e08aa6 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Mon, 13 Aug 2018 09:21:23 +0200 Subject: [PATCH] fix(router): Add 'history' prop to the archive-list. --- frontend/src/page/archive/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/page/archive/index.js b/frontend/src/page/archive/index.js index 9c5cfba1df..bac016f71a 100644 --- a/frontend/src/page/archive/index.js +++ b/frontend/src/page/archive/index.js @@ -2,9 +2,10 @@ import React from 'react'; import Archive from '../../component/archive/archive-list-container'; import PropTypes from 'prop-types'; -const render = ({ match }) => ; +const render = ({ match: { params }, history }) => ; render.propTypes = { match: PropTypes.object, + history: PropTypes.object, }; export default render;