From 901230c3d0a2185dc9eed13445176c6ddcec1107 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Wed, 19 May 2021 12:08:45 +0530 Subject: [PATCH] fix: revid filter crash --- frontend/app/components/BugFinder/CustomFilters/FilterItem.js | 2 +- frontend/app/components/Client/ProfileSettings/OptOut.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/components/BugFinder/CustomFilters/FilterItem.js b/frontend/app/components/BugFinder/CustomFilters/FilterItem.js index e929a53c4..8b60b601c 100644 --- a/frontend/app/components/BugFinder/CustomFilters/FilterItem.js +++ b/frontend/app/components/BugFinder/CustomFilters/FilterItem.js @@ -6,7 +6,7 @@ import cn from 'classnames'; const FilterItem = ({ className = '', icon, label, onClick }) => { return (
- + { icon && } { label }
); diff --git a/frontend/app/components/Client/ProfileSettings/OptOut.js b/frontend/app/components/Client/ProfileSettings/OptOut.js index dea675a60..6e4643d7b 100644 --- a/frontend/app/components/Client/ProfileSettings/OptOut.js +++ b/frontend/app/components/Client/ProfileSettings/OptOut.js @@ -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 (