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 166249a commit c29460dCopy full SHA for c29460d
src/history/errors.js
@@ -60,8 +60,8 @@ function stringifyRoute (to) {
60
if (typeof to === 'string') return to
61
if ('path' in to) return to.path
62
const location = {}
63
- for (const key of propertiesToLog) {
+ propertiesToLog.forEach(key => {
64
if (key in to) location[key] = to[key]
65
- }
+ })
66
return JSON.stringify(location, null, 2)
67
}
0 commit comments