We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 039f40a + f35002f commit 448c5d2Copy full SHA for 448c5d2
1 file changed
src/router.js
@@ -91,7 +91,7 @@ export default (formatPattern) => {
91
...typeof relocation === 'string' ? {type: relocation} : relocation,
92
93
removePath: relocation.removePath !== undefined ?
94
- relocation.removePath :
+ finalFormatPattern(relocation.removePath, params) :
95
getFormattedPathName(i - 1),
96
});
97
}
0 commit comments