Skip to content

Commit fbdd8f1

Browse files
dmarkowryanflorence
authored andcommitted
Prevent replace prop from being passed to <a ... /> (#4011)
1 parent eac8217 commit fbdd8f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/Link.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class Link extends React.Component {
6464
location:propLocation,
6565
isActive: getIsActive,
6666
activeOnlyWhenExact, // eslint-disable-line
67+
replace, // eslint-disable-line
6768
...rest
6869
} = this.props
6970

0 commit comments

Comments
 (0)