From ebe4f9373bfef40a76229ea6d39aa6ff161bae33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sat, 4 Mar 2023 12:44:04 +0100 Subject: [PATCH] Remove console.log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/features/filters/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/soapbox/features/filters/index.tsx b/app/soapbox/features/filters/index.tsx index bccde00f21..c9b5039400 100644 --- a/app/soapbox/features/filters/index.tsx +++ b/app/soapbox/features/filters/index.tsx @@ -63,10 +63,7 @@ const FilterField: StreamfieldComponent = ({ value, onChange }) => const intl = useIntl(); const handleChange = (key: string): React.ChangeEventHandler => - e => { - // console.log({ ...value, [key]: e.currentTarget[e.currentTarget.type === 'checkbox' ? 'checked' : 'value'] }); - onChange({ ...value, [key]: e.currentTarget[e.currentTarget.type === 'checkbox' ? 'checked' : 'value'] }); - }; + e => onChange({ ...value, [key]: e.currentTarget[e.currentTarget.type === 'checkbox' ? 'checked' : 'value'] }); return (