diff --git a/frontend/src/pages/drafts/draft-content.js b/frontend/src/pages/drafts/draft-content.js index 2af70e7a27..da8f79583b 100644 --- a/frontend/src/pages/drafts/draft-content.js +++ b/frontend/src/pages/drafts/draft-content.js @@ -12,6 +12,7 @@ const propTypes = { updateDraftsList: PropTypes.func.isRequired, isLoadingDraft: PropTypes.bool.isRequired, draftList: PropTypes.arrayOf(PropTypes.object), + getDrafts: PropTypes.func.isRequired, }; class DraftContent extends React.Component { @@ -27,6 +28,7 @@ class DraftContent extends React.Component { } componentDidMount() { + this.props.getDrafts(); document.addEventListener('click', this.onHideContextMenu); }