diff --git a/src/components/Pages/Revision/RevisionPage.js b/src/components/Pages/Revision/RevisionPage.js index de1d0c2..1170e05 100644 --- a/src/components/Pages/Revision/RevisionPage.js +++ b/src/components/Pages/Revision/RevisionPage.js @@ -75,21 +75,15 @@ export default class RevisionPage extends React.Component { id="revision" markComplete={this.markComplete} swipe={this.swipe} - caseTitle={this.state.caseTitle} - caseDetails={this.state.caseDetails} - caseDetailsDisplayed={this.state.caseDetailsDisplayed} - markSchemeElements={this.state.markSchemeElements} - markSchemeCompleted={this.state.markSchemeCompleted} + {...this.state} /> ); const resultsContainer = ( ); const { exam, station } = this.props.match.params; @@ -98,11 +92,9 @@ export default class RevisionPage extends React.Component { {this.state.resultsDisplayed ? resultsContainer : revisionContainer} diff --git a/src/components/TopBar/TopBar.js b/src/components/TopBar/TopBar.js index 7437dd7..0e225fd 100644 --- a/src/components/TopBar/TopBar.js +++ b/src/components/TopBar/TopBar.js @@ -51,11 +51,9 @@ export default class TopBar extends React.Component { )} {this.props.tickDisplayed && ( )}