Skip to content

Commit

Permalink
Update uid in routing section of README
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoslyn authored Sep 9, 2017
1 parent 0dae143 commit 13156e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ import { DocumentById} from 'react-prismic-hocs'
<DocumentById
key={props.match.params.uid} //whenever this changes the component is refetched
url={'https://yourapiurl.prismic.io/api'}
uid={'about-us'}
key={props.match.params.uid}
type={'page'}
queryKey={'page'}
>
Expand Down

0 comments on commit 13156e7

Please sign in to comment.