Remove console.log

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
environments/review-filters-v2-hhz42m/deployments/2751
marcin mikołajczak 2023-03-04 12:44:04 +01:00
rodzic 4c92f581c4
commit ebe4f9373b
1 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

@ -63,10 +63,7 @@ const FilterField: StreamfieldComponent<IFilterField> = ({ value, onChange }) =>
const intl = useIntl();
const handleChange = (key: string): React.ChangeEventHandler<HTMLInputElement> =>
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 (
<HStack space={2} grow>