Steven Fukase 4 лет назад
Родитель
Сommit
2875e57920
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/client/js/components/PageCreateModal.jsx

+ 1 - 1
src/client/js/components/PageCreateModal.jsx

@@ -80,7 +80,7 @@ const PageCreateModal = (props) => {
     try {
       const editorPath = await generateEditorPath(...paths);
       console.log(editorPath);
-      // window.location.href = `${url.pathname}#edit`;
+      window.location.href = editorPath;
     }
     catch (err) {
       toastError(err);