Skip to content

Commit 92b2ab3

Browse files
committed
Add missing propType
1 parent 394eb09 commit 92b2ab3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-router/modules/Redirect.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class Redirect extends React.Component {
1515

1616
static propTypes = {
1717
push: PropTypes.bool,
18+
from: PropTypes.string,
1819
to: PropTypes.oneOfType([
1920
PropTypes.string,
2021
PropTypes.object

0 commit comments

Comments
 (0)