Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rafgraph committed Jul 14, 2020
1 parent 64b6abb commit c46d859
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# React Router Hash Link

***Note that this is for React Router v4/5, for v2/3 see [this solution](https://github.com/rafrex/react-router-hash-link/tree/react-router-v2/3).***
***Note that this is for React Router v4/5, for v2/3 see [this solution](https://github.com/rafgraph/react-router-hash-link/tree/react-router-v2/3).***

[Live Example](http://react-router-hash-link.rafrex.com/)

Expand Down Expand Up @@ -70,7 +70,7 @@ For example, the gatsby static site generator requires you to use its implementa
import { genericHashLink } from 'react-router-hash-link';
import GatsbyLink from 'gatsby-link';

const MyHashLink = (props) => genericHashLink(props, GatsbyLink);
const MyHashLink = genericHashLink(GatsbyLink);

const MyComponent = () => (
<div>
Expand All @@ -79,4 +79,3 @@ const MyComponent = () => (
</div>
);
```
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/rafrex/react-router-hash-link.git"
"url": "git+https://github.com/rafgraph/react-router-hash-link.git"
},
"keywords": [
"react",
Expand All @@ -23,10 +23,10 @@
"hash-link",
"scroll"
],
"author": "Rafael Pedicini <[email protected]>",
"author": "Rafael Pedicini <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/rafrex/react-router-hash-link/issues"
"url": "https://github.com/rafgraph/react-router-hash-link/issues"
},
"peerDependencies": {
"react": ">=15",
Expand Down

0 comments on commit c46d859

Please sign in to comment.