From a82c1ee7d0345e0bd15515538ce6107017839a58 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Mon, 30 Jan 2023 16:32:49 +0100 Subject: [PATCH] fix(ui): do not load empty id on replayer --- frontend/app/components/Session/WebPlayer.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/app/components/Session/WebPlayer.tsx b/frontend/app/components/Session/WebPlayer.tsx index eb4fbf8db..81be8b729 100644 --- a/frontend/app/components/Session/WebPlayer.tsx +++ b/frontend/app/components/Session/WebPlayer.tsx @@ -26,10 +26,8 @@ function WebPlayer(props: any) { closeBottomBlock, fullscreen, fetchList, - customSession, insights, jumpTimestamp, - onMarkerClick, } = props; const { notesStore } = useStore(); const [activeTab, setActiveTab] = useState(''); @@ -39,6 +37,7 @@ function WebPlayer(props: any) { const [contextValue, setContextValue] = useState(defaultContextValue); useEffect(() => { + if (!session.sessionId) return; fetchList('issues'); const [WebPlayerInst, PlayerStore] = createWebPlayer(session, (state) =>