Removed console log

This commit is contained in:
maciekglowacki 2020-06-18 17:12:30 +02:00
parent aabafac2bb
commit 3f5e672e5c

View File

@ -14,7 +14,6 @@ export default function RightBar({ lectures, onGroupMouseOver, onGroupClick }: R
const onCardClick = (e: React.MouseEvent) => { const onCardClick = (e: React.MouseEvent) => {
const target = e.target as HTMLElement; const target = e.target as HTMLElement;
console.log(`Target id is: ${target.id}`);
selectedCardId === target.id ? setSelectedCardId(null) : setSelectedCardId(target.id); selectedCardId === target.id ? setSelectedCardId(null) : setSelectedCardId(target.id);
}; };