diff --git a/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.tsx b/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.tsx
index 39975aa94..92f89bcea 100644
--- a/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.tsx
+++ b/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.tsx
@@ -11,7 +11,7 @@ import NoteEvent from './NoteEvent';
import stl from './eventGroupWrapper.module.css';
import { useTranslation } from 'react-i18next';
-const EventGroupWrapper = (props: any) => {
+function EventGroupWrapper(props) {
const { userStore } = useStore();
const currentUserId = userStore.account.id;
@@ -19,9 +19,6 @@ const EventGroupWrapper = (props: any) => {
const onCheckboxClick = (e) => props.onCheckboxClick(e, props.event);
- console.log('tick');
-
-
const {
event,
isLastEvent,
diff --git a/frontend/app/components/Session_/EventsBlock/EventsBlock.tsx b/frontend/app/components/Session_/EventsBlock/EventsBlock.tsx
index a2cf37b93..643673bf7 100644
--- a/frontend/app/components/Session_/EventsBlock/EventsBlock.tsx
+++ b/frontend/app/components/Session_/EventsBlock/EventsBlock.tsx
@@ -139,9 +139,7 @@ function EventsBlock(props: IProps) {
useEffect(() => {
setCurrentTimeEventIndex(findLastFitting(time));
- console.log('CUURENT TIME EVENT INDEX');
}, [])
- // const currentTimeEventIndex = findLastFitting(time);
const write = ({
target: { value },
@@ -314,10 +312,7 @@ function EventsBlock(props: IProps) {
{t('No Matching Results')}
)}
- {usedEvents.map((_, i) => {
- return renderGroup({ index: i });
- })}
- {/* {
return renderGroup({ index: i });
})}
- */}
+
>
);
diff --git a/frontend/app/components/Session_/Player/Controls/EventsList.tsx b/frontend/app/components/Session_/Player/Controls/EventsList.tsx
index d86e1ba36..0465f149f 100644
--- a/frontend/app/components/Session_/Player/Controls/EventsList.tsx
+++ b/frontend/app/components/Session_/Player/Controls/EventsList.tsx
@@ -1,4 +1,4 @@
-import React, { useContext, useEffect } from 'react';
+import React, { useContext } from 'react';
import {
PlayerContext,
MobilePlayerContext,
diff --git a/frontend/app/types/session/event.ts b/frontend/app/types/session/event.ts
index a853fc791..2eeb568c4 100644
--- a/frontend/app/types/session/event.ts
+++ b/frontend/app/types/session/event.ts
@@ -182,7 +182,7 @@ export class Click extends Event {
selector: string;
- isHighlighted: boolean = false;
+ isHighlighted: boolean | undefined = false;
constructor(evt: ClickEvent, isClickRage?: boolean) {
super(evt);