|
@@ -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("");
|