From da7f9bafdb23a09b19905649c19f68be55051244 Mon Sep 17 00:00:00 2001 From: Nikita Mostovoy Date: Tue, 12 Nov 2019 12:40:59 +0300 Subject: [PATCH] remove duplicate action field from propTypes --- src/ConnectedRouter.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ConnectedRouter.js b/src/ConnectedRouter.js index ec45b573..5dc50dec 100644 --- a/src/ConnectedRouter.js +++ b/src/ConnectedRouter.js @@ -91,8 +91,7 @@ const createConnectedRouter = (structure) => { action: PropTypes.string.isRequired, listen: PropTypes.func.isRequired, location: PropTypes.object.isRequired, - push: PropTypes.func.isRequired, - action: PropTypes.string.isRequired, + push: PropTypes.func.isRequired, }).isRequired, basename: PropTypes.string, children: PropTypes.oneOfType([ PropTypes.func, PropTypes.node ]),