Skip to content

Commit

Permalink
Fix Link navigation (#7)
Browse files Browse the repository at this point in the history
* Fix link navigation

* version
  • Loading branch information
bielcapanema authored Jun 10, 2020
1 parent e49c775 commit 9940948
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Link extends Component {
}
}

return <a onClick={this.handleClick} ref={innerRef} {...props} />
return <a ref={innerRef} {...props} onClick={this.handleClick} />
}

}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quintoandar/react-router",
"version": "0.0.5",
"version": "0.0.6",
"description": "React Router v3 compatible with concurrent mode",
"files": [
"*.md",
Expand Down

0 comments on commit 9940948

Please sign in to comment.