diff --git a/src/App.js b/src/App.js index 4e3f06c..5e732ce 100644 --- a/src/App.js +++ b/src/App.js @@ -147,11 +147,11 @@ const ScaleApp = () => { } if(getHash()) { - window.location.hash = encodeURI(Object.values(getHash()).join('/')) + window.history.pushState({}, "", encodeURI("#" + Object.values(currentState).join("/"))); } const updateHash = () => { - window.location.hash = encodeURI(Object.values(currentState).join('/')) + window.history.pushState({}, "", encodeURI("#" + Object.values(currentState).join("/"))); } const updateThemeColor = () => {