fix: revid filter crash
This commit is contained in:
parent
ad2105f534
commit
901230c3d0
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ import cn from 'classnames';
|
|||
const FilterItem = ({ className = '', icon, label, onClick }) => {
|
||||
return (
|
||||
<div className={ cn(stl.filterItem, className) } id="filter-item" onClick={ onClick }>
|
||||
<Icon name={ icon } size="16" marginRight="8" />
|
||||
{ icon && <Icon name={ icon } size="16" marginRight="8" /> }
|
||||
<span className={ stl.label }>{ label }</span>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { updateClient } from 'Duck/user'
|
|||
function OptOut(props) {
|
||||
const { optOut } = props;
|
||||
const onChange = () => {
|
||||
props.updateClient({ optOut: !optOut, name: 'OpenReplay' })
|
||||
props.updateClient({ optOut: !optOut })
|
||||
}
|
||||
return (
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue