text-background-color-source #10

Merged
deco merged 7 commits from text-background-color-source into main 2025-07-22 23:36:53 +03:00
Showing only changes of commit cbf8cd6516 - Show all commits

View file

@ -80,7 +80,9 @@ export default function Home() {
activeRes.json() activeRes.json()
]); ]);
setStreams(streamsData); // Handle both old and new API response formats
const streams = streamsData.success ? streamsData.data : streamsData;
setStreams(streams);
setActiveSources(activeData); setActiveSources(activeData);
} catch (error) { } catch (error) {
console.error('Error fetching data:', error); console.error('Error fetching data:', error);