Skip to content

Commit a44d5aa

Browse files
committed
bring back exact
1 parent 8217e81 commit a44d5aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compounds/LinkedButton/LinkedButton.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const { onClick, ...remainingPropTypes } = Button.propTypes
3131
LinkedButton.propTypes = {
3232
buttonProps: PropTypes.shape(remainingPropTypes).isRequired,
3333
addClass: PropTypes.string,
34-
path: PropTypes.shape({
34+
path: PropTypes.exact({
3535
pathname: PropTypes.string.isRequired,
3636
query: PropTypes.shape({ id: PropTypes.number }),
3737
}).isRequired,

0 commit comments

Comments
 (0)