= 2 gadi atpakaļ
vecāks
revīzija
d217ee1ca0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/components/EditorsPage.js

+ 1 - 1
src/components/EditorsPage.js

@@ -34,7 +34,7 @@ const datas = [
   },
 ];
 
-export const EditorsPage = (onSave) => {
+export const EditorsPage = ({ onSave }) => {
   const [editors, setEditors] = useState(datas);
   const [title, setTitle] = useState("");
   const [description, setDescription] = useState("");