Update pagination links
This commit is contained in:
parent
6045eb8c3c
commit
71326a8c19
1 changed files with 2 additions and 2 deletions
|
|
@ -174,10 +174,10 @@ class App extends Component {
|
|||
<SinglePost
|
||||
singlePost={singlePost}
|
||||
nextPostURL={
|
||||
nextPost && `/blog/${_kebabCase(nextPost.title)}`
|
||||
nextPost && `/blog/${_kebabCase(nextPost.title)}/`
|
||||
}
|
||||
prevPostURL={
|
||||
prevPost && `/blog/${_kebabCase(prevPost.title)}`
|
||||
prevPost && `/blog/${_kebabCase(prevPost.title)}/`
|
||||
}
|
||||
{...props}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue