We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19117e commit a8ee5d1Copy full SHA for a8ee5d1
packages/smooth/src/page/Page.js
@@ -56,9 +56,9 @@ export function getPages() {
56
}
57
58
function getContentSlug({ match, history, location, pageRef }) {
59
- const { module: pageModule } = pageRef.current
+ const { module: pageModule, isWildCard } = pageRef.current
60
61
- if (match.params.slug === undefined) {
+ if (!isWildCard) {
62
if (!pageModule.contentSlug) {
63
return pageRef.current.routePath.replace(/^\//, '')
64
0 commit comments