Parcourir la source

replace window location href to window location reload

yuto-oweseek il y a 4 ans
Parent
commit
e8c56d47cb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/app/src/client/services/PageContainer.js

+ 1 - 1
packages/app/src/client/services/PageContainer.js

@@ -684,7 +684,7 @@ export default class PageContainer extends Container {
 
   async resolveConflictAndReload(pageId, revisionId, markdown, optionsToSave) {
     await this.resolveConflict(pageId, revisionId, markdown, optionsToSave);
-    window.location.href = this.state.path;
+    window.location.reload();
   }
 
 }