FIX: fixed issues loading content on new accounts

This commit is contained in:
white
2025-02-17 12:18:23 +00:00
parent ecb26223df
commit 3528b6517a
4 changed files with 20 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ const StreamerRoute: React.FC = () => {
const response = await fetch(`/api/user/${streamerName}/status`);
const data = await response.json();
setIsLive(Boolean(data.is_live));
setStreamId(data.most_recent_stream);
setStreamId(data.user_id);
} catch (error) {
console.error("Error checking stream status:", error);
setIsLive(false);