From 5edeb507002e393eabf9b1c964a9cf3035e19fd7 Mon Sep 17 00:00:00 2001 From: btzr-io Date: Sat, 26 Aug 2017 20:37:46 -0600 Subject: [PATCH] force regex for invalid path just in case ^^ --- ui/js/actions/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/js/actions/app.js b/ui/js/actions/app.js index 34cceed37..3a800e2ce 100644 --- a/ui/js/actions/app.js +++ b/ui/js/actions/app.js @@ -60,7 +60,7 @@ export function doChangePath(path, options = {}) { dispatch({ type: types.CHANGE_PATH, data: { - path, + path: path.replace(/^#/, ""), }, });