Fixes #3596
Wrap `isShownKey` values in a function that replaces spaces with underscores. When parsing the hash on route change, replace the spaces in the values with underscores again.
This commit is contained in:
@@ -650,3 +650,5 @@ export const shallowEqualKeys = (a,b, keys) => {
|
||||
return eq(a[key], b[key])
|
||||
})
|
||||
}
|
||||
|
||||
export const replaceSpacesWithUnderscores = (str) => str.replace(/\s/, "_")
|
||||
|
||||
Reference in New Issue
Block a user