Skip to content

Commit

Permalink
#165 added functional close button for modal window
Browse files Browse the repository at this point in the history
  • Loading branch information
jaslatendresse committed Feb 1, 2020
1 parent 1ac695f commit cc7395c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutify/src/components/Resources/ResourceLevels.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class ResourceLevels extends React.Component {


render() {
const { classes, handleOpen, handleClose } = this.props;
const { classes } = this.props;
return (
<React.Fragment>
<DashBoardNavBar />
Expand Down Expand Up @@ -141,7 +141,7 @@ class ResourceLevels extends React.Component {
</Card>
</Link>
<AddResourceButton handleOpen={this.handleOpen} isTutor={this.state.isTutor}/>
<AddResource open={this.state.open} handleClose={handleClose}/>
<AddResource open={this.state.open} handleClose={this.handleClose}/>
</Grid>
</Container>
</div>
Expand Down

0 comments on commit cc7395c

Please sign in to comment.