Commit a25085f3 authored by Nataliya Karatkova's avatar Nataliya Karatkova Committed by Luis Alvarez D

Update static export example: clean up an extra query param (#9239)

parent acf7d0ad
...@@ -12,10 +12,7 @@ module.exports = { ...@@ -12,10 +12,7 @@ module.exports = {
const pages = postList.reduce( const pages = postList.reduce(
(pages, post) => (pages, post) =>
Object.assign({}, pages, { Object.assign({}, pages, {
[`/post/${post.id}`]: { [`/post/${post.id}`]: { page: '/post/[id]' }
page: '/post/[id]',
query: { id: post.id }
}
}), }),
{} {}
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment