From 8a1cce18a9c51ba504c262ccef1c7aae8a9eddc7 Mon Sep 17 00:00:00 2001 From: sylenien Date: Tue, 4 Oct 2022 15:38:37 +0200 Subject: [PATCH] fix(ui): fix eventlist size calc --- .../app/components/Session_/EventsBlock/EventGroupWrapper.js | 1 - frontend/app/components/Session_/EventsBlock/EventsBlock.js | 4 +--- frontend/app/components/Session_/EventsBlock/NoteEvent.tsx | 2 +- .../app/components/Session_/Player/Overlay/PlayIconLayer.tsx | 1 - 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.js b/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.js index b33191239..8cc5e81c9 100644 --- a/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.js +++ b/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.js @@ -54,7 +54,6 @@ class EventGroupWrapper extends React.Component { const whiteBg = isLastInGroup && event.type !== TYPES.LOCATION || (!isLastEvent && event.type !== TYPES.LOCATION) const safeRef = String(event.referrer || ''); - console.log(this.props.currentUserId, event.userId) return (
diff --git a/frontend/app/components/Session_/Player/Overlay/PlayIconLayer.tsx b/frontend/app/components/Session_/Player/Overlay/PlayIconLayer.tsx index 49613413c..587a14239 100644 --- a/frontend/app/components/Session_/Player/Overlay/PlayIconLayer.tsx +++ b/frontend/app/components/Session_/Player/Overlay/PlayIconLayer.tsx @@ -26,7 +26,6 @@ function PlayIconLayer({ playing, togglePlay, notesEdit }: Props) { const getIsEdit = React.useCallback(() => notesEdit, [notesEdit]) const onKeyDown = (e: any) => { - console.log(getIsEdit()) if (getIsEdit()) return; if (e.key === ' ') { togglePlayAnimated();