ui: fix projectid passed to assist

This commit is contained in:
nick-delirium 2024-10-28 14:16:22 +01:00
parent f597750cf7
commit 9a5716fdcb
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -43,7 +43,7 @@ function LivePlayer({
const location = useLocation();
useEffect(() => {
const projectId = projectsStore.getSiteId();
const projectId = projectsStore.getSiteId().siteId;
playerInst = undefined;
if (!usedSession.sessionId || contextValue.player !== undefined) return;
console.debug('creating live player for', usedSession.sessionId);