diff --git a/client/src/containers/Editor/Editor.js b/client/src/containers/Editor/Editor.js index 68e7a0ebc..7b0b2038c 100644 --- a/client/src/containers/Editor/Editor.js +++ b/client/src/containers/Editor/Editor.js @@ -196,11 +196,6 @@ class Editor extends Component { }); } - /** - * Pass some extra props to our EditorHeader. - * @param {Object} fieldProps - */ - /** * Wrap the the Header field into an EditorHeader component. * @param {Component} SchemaComponent diff --git a/client/src/containers/Editor/EditorHeader.js b/client/src/containers/Editor/EditorHeader.js index a70379cd9..a3460a35a 100644 --- a/client/src/containers/Editor/EditorHeader.js +++ b/client/src/containers/Editor/EditorHeader.js @@ -43,6 +43,9 @@ export const buttonStates = { NONE }; +/** + * Wraps the form headers with some buttons to switch between different form. + */ const EditorHeader = ({ onCancel, onDetails, showButton, children }) => { const cancelHandler = handle(onCancel);