This commit is contained in:
mgabdev
2020-05-08 22:17:19 -04:00
parent a390662e4f
commit b620cb1372
38 changed files with 734 additions and 277 deletions

View File

@@ -35,6 +35,7 @@ const mapStateToProps = (state) => ({
const mapDispatchToProps = (dispatch) => ({
setFilter(value) {
console.log("SETTING ACTIVE FILTER:", value)
dispatch(setFilter('active', value))
},
})
@@ -56,7 +57,9 @@ class NotificationsPage extends PureComponent {
selectedFilter: PropTypes.string.isRequired,
}
componentDidMount() {
componentWill
UNSAFE_componentWillMount() {
this.checkForQueryStringChange(this.context.router.route.location)
}