Browse Source

GW-3639
improving page-moving error displaying logic

YAN Guanyu 5 năm trước cách đây
mục cha
commit
ccc3e8e523
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/client/js/components/PageRenameModal.jsx

+ 2 - 0
src/client/js/components/PageRenameModal.jsx

@@ -47,6 +47,8 @@ const PageRenameModal = (props) => {
    * @param {string} value
    */
   function inputChangeHandler(value) {
+    setErrorCode(null);
+    setErrorMessage(null);
     setPageNameInput(value);
   }