- { isLoading
- ?
- : (
-
-
-
-
-
- this.props.history.push(`/teachers/${e.target.innerText}`)}
- />
-
-
- )
- }
-
- )
- }
+ handleChange = (e, { value, name }) => this.updateAndSubmitForm({ [name]: value })
+
+ render() {
+ const { statistics, updated, isLoading, yearoptions, categoryoptions } = this.props
+ const { selectedcategory, selectedyear, recalculating } = this.state
+ return (
+