force regex for invalid path

just in case ^^
This commit is contained in:
btzr-io 2017-08-26 20:37:46 -06:00
parent b3c4f4369e
commit 5edeb50700

View file

@ -60,7 +60,7 @@ export function doChangePath(path, options = {}) {
dispatch({ dispatch({
type: types.CHANGE_PATH, type: types.CHANGE_PATH,
data: { data: {
path, path: path.replace(/^#/, ""),
}, },
}); });