removed consoles

This commit is contained in:
Андрей Бабушкин 2025-05-05 16:40:05 +02:00
parent 10925a744b
commit 877a556296
4 changed files with 5 additions and 13 deletions

View file

@ -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,

View file

@ -131,9 +131,7 @@ function EventsBlock(props: IProps) {
useEffect(() => {
setCurrentTimeEventIndex(findLastFitting(time));
console.log('CUURENT TIME EVENT INDEX');
}, [])
// const currentTimeEventIndex = findLastFitting(time);
const write = ({
target: { value },
@ -306,10 +304,7 @@ function EventsBlock(props: IProps) {
<span className="ml-2">{t('No Matching Results')}</span>
</div>
)}
{usedEvents.map((_, i) => {
return renderGroup({ index: i });
})}
{/* <VList
<VList
count={usedEvents.length}
className={styles.eventsList}
ref={scroller}
@ -317,7 +312,7 @@ function EventsBlock(props: IProps) {
{usedEvents.map((_, i) => {
return renderGroup({ index: i });
})}
</VList> */}
</VList>
</div>
</>
);

View file

@ -1,4 +1,4 @@
import React, { useContext, useEffect } from 'react';
import React, { useContext } from 'react';
import {
PlayerContext,
MobilePlayerContext,

View file

@ -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);