Removed console log
This commit is contained in:
parent
aabafac2bb
commit
3f5e672e5c
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user