Replace URL instead of pushing an entry in updateCodeStore

This commit is contained in:
Jonathan Clem
2020-03-10 12:53:15 -04:00
parent 824111df12
commit 65d676059d
+1 -1
View File
@@ -35,5 +35,5 @@ export const fromUrl = data => {
};
export const updateCodeStore = newState => {
codeStore.set(newState);
push('/edit/' + Base64.encodeURI(JSON.stringify(newState)))
replace('/edit/' + Base64.encodeURI(JSON.stringify(newState)))
};