|
|
@ -110,10 +110,7 @@ class Activity extends Component { |
|
|
|
onChange={event => updateSearchText(event.target.value)} |
|
|
|
/> |
|
|
|
</section> |
|
|
|
<section onClick={() => { |
|
|
|
updateSearchActive(false) |
|
|
|
updateSearchText('') |
|
|
|
}}> |
|
|
|
<section onClick={() => { updateSearchActive(false); updateSearchText('') }}> |
|
|
|
<span className={styles.xIcon}> |
|
|
|
<Isvg src={xIcon} /> |
|
|
|
</span> |
|
|
@ -171,6 +168,8 @@ Activity.propTypes = { |
|
|
|
|
|
|
|
showActivityModal: PropTypes.func.isRequired, |
|
|
|
changeFilter: PropTypes.func.isRequired, |
|
|
|
updateSearchActive: PropTypes.func.isRequired, |
|
|
|
updateSearchText: PropTypes.func.isRequired, |
|
|
|
|
|
|
|
activity: PropTypes.object.isRequired, |
|
|
|
currentActivity: PropTypes.array.isRequired, |
|
|
|