diff --git a/frontend/app/components/Session/Player/LivePlayer/LivePlayerSubHeader.tsx b/frontend/app/components/Session/Player/LivePlayer/LivePlayerSubHeader.tsx
index 6fa882fc5..3ac938eb0 100644
--- a/frontend/app/components/Session/Player/LivePlayer/LivePlayerSubHeader.tsx
+++ b/frontend/app/components/Session/Player/LivePlayer/LivePlayerSubHeader.tsx
@@ -19,7 +19,7 @@ function SubHeader() {
return (
<>
- {tabs.map((tab, i) => (
+ {Array.from(tabs).map((tab, i) => (
diff --git a/frontend/app/components/Session/Player/SharedComponents/Tab.tsx b/frontend/app/components/Session/Player/SharedComponents/Tab.tsx
index 8586fb2f1..d1a80bd22 100644
--- a/frontend/app/components/Session/Player/SharedComponents/Tab.tsx
+++ b/frontend/app/components/Session/Player/SharedComponents/Tab.tsx
@@ -15,10 +15,11 @@ function Tab({ i, tab, currentTab, changeTab }: Props) {
style={{ marginBottom: '-2px' }}
onClick={() => changeTab?.(tab)}
className={cn(
- 'self-end py-1 px-4 cursor-pointer',
+ 'self-end py-1 px-4 text-sm',
+ changeTab && 'cursor-pointer',
currentTab === tab
? 'border-gray-light border-t border-l border-r !border-b-white bg-white rounded-tl rounded-tr font-semibold'
- : 'cursor-pointer border-gray-light !border-b !border-t-0 !border-l-0 !border-r-0'
+ : 'cursor-pointer border-gray-light !border-b !border-t-transparent !border-l-transparent !border-r-transparent'
)}
>
Tab {i + 1}
diff --git a/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.js b/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.js
index 21d425e73..499b63c5e 100644
--- a/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.js
+++ b/frontend/app/components/Session_/EventsBlock/EventGroupWrapper.js
@@ -130,18 +130,22 @@ class EventGroupWrapper extends React.Component {
}
}
-function TabChange({ from, to }) { return (
-
- Tab change:
-
- {from}
-
-
-
- {to}
-
-
-)
+function TabChange({ from, to }) {
+ if (!from) {
+ return null;
+ }
+ return (
+
+ Tab change:
+
+ {from}
+
+
+
+ {to}
+
+
+ )
}
export default EventGroupWrapper;
diff --git a/frontend/app/components/Session_/Subheader.js b/frontend/app/components/Session_/Subheader.js
index 1a9322188..d088d7ea5 100644
--- a/frontend/app/components/Session_/Subheader.js
+++ b/frontend/app/components/Session_/Subheader.js
@@ -101,7 +101,7 @@ function SubHeader(props) {
) : null}
- {tabs.map((tab, i) => (
+ {Array.from(tabs).map((tab, i) => (