diff --git a/frontend/src/Author/MonitoringOptions/MonitoringOptionsModalContent.js b/frontend/src/Author/MonitoringOptions/MonitoringOptionsModalContent.js index 2578649a0..986541548 100644 --- a/frontend/src/Author/MonitoringOptions/MonitoringOptionsModalContent.js +++ b/frontend/src/Author/MonitoringOptions/MonitoringOptionsModalContent.js @@ -33,7 +33,7 @@ class MonitoringOptionsModalContent extends Component { const { isSaving, saveError - } = prevProps; + } = this.props; if (prevProps.isSaving && !isSaving && !saveError) { this.setState({ diff --git a/frontend/src/Bookshelf/BookshelfFooter.js b/frontend/src/Bookshelf/BookshelfFooter.js index c04e14216..63bf84bb1 100644 --- a/frontend/src/Bookshelf/BookshelfFooter.js +++ b/frontend/src/Bookshelf/BookshelfFooter.js @@ -30,7 +30,7 @@ class BookshelfFooter extends Component { const { isSaving, saveError - } = prevProps; + } = this.props; if (prevProps.isSaving && !isSaving && !saveError) { this.setState({