fix(ui): do not load empty id on replayer

This commit is contained in:
nick-delirium 2023-01-30 16:32:49 +01:00
parent 7ac0aa0b98
commit a82c1ee7d0

View file

@ -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<IPlayerContext>(defaultContextValue);
useEffect(() => {
if (!session.sessionId) return;
fetchList('issues');
const [WebPlayerInst, PlayerStore] = createWebPlayer(session, (state) =>