removed consoles
This commit is contained in:
parent
10925a744b
commit
877a556296
4 changed files with 5 additions and 13 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import React, { useContext, useEffect } from 'react';
|
||||
import React, { useContext } from 'react';
|
||||
import {
|
||||
PlayerContext,
|
||||
MobilePlayerContext,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue