There are a couple of modals that don't seem to close when they should.
Looks like the issue is to do with action creators not being bound correctly in the components. There's an action being imported here, from a reducers file. It's probably meant to be imported from the actions file instead. It's also not being bound correctly on line 29 (i.e. it's binding the imported action creator directly, not the bound one from this.props.
Looks as though the same problem is present in this file.
Acceptance criteria:
All modals should be closable with the Escape key.
All modals should be closable by clicking the background of the page.
If there are existing close or cancel buttons on modals, then they should work. But if they're not already there, then it's probably not worth adding new ones, as we'll likely end up removing all the modals anyway.
There are a couple of modals that don't seem to close when they should.
Looks like the issue is to do with action creators not being bound correctly in the components. There's an action being imported here, from a reducers file. It's probably meant to be imported from the actions file instead. It's also not being bound correctly on line 29 (i.e. it's binding the imported action creator directly, not the bound one from
this.props
.Looks as though the same problem is present in this file.
Acceptance criteria: