Replace URL instead of pushing an entry in updateCodeStore
This commit is contained in:
+1
-1
@@ -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)))
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user