We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c88c5a commit eea24c9Copy full SHA for eea24c9
1 file changed
pages/index.js
@@ -37,7 +37,7 @@ export default class extends React.Component {
37
38
showPhoto (e, id) {
39
e.preventDefault()
40
- Router.push(`/?photoId=${id}`, `/photo?id=${id}`)
+ Router.push(`/?photoId=${id}`, `/photo?id=${id}`, { shallow: true })
41
}
42
43
render () {
0 commit comments