Răsfoiți Sursa

fix to camelcace

takeru0001 5 ani în urmă
părinte
comite
291aedab81
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/client/js/components/PageDuplicateModal.jsx

+ 2 - 2
src/client/js/components/PageDuplicateModal.jsx

@@ -26,7 +26,7 @@ const PageDuplicateModal = (props) => {
   const [errorCode, setErrorCode] = useState(null);
   const [errorMessage, setErrorMessage] = useState(null);
 
-  const [isDuplicateRecursively, SetIsDuplicateRecursively] = useState(true);
+  const [isDuplicateRecursively, setIsDuplicateRecursively] = useState(true);
 
   /**
    * change pageNameInput for PagePathAutoComplete
@@ -45,7 +45,7 @@ const PageDuplicateModal = (props) => {
   }
 
   function changeIsDuplicateRecursivelyHandler() {
-    SetIsDuplicateRecursively(!isDuplicateRecursively);
+    setIsDuplicateRecursively(!isDuplicateRecursively);
   }
 
   async function duplicate() {