Add state to src and data in Stream component

This commit is contained in:
Leon Grünewald 2024-10-20 01:35:37 +02:00
parent 43e2e48baa
commit f050b15767

View file

@ -1,8 +1,8 @@
<script>
let {stream, type} = $props();
let src;
let data;
let src = $state(null);
let data = $state(null);
switch (type) {
case "twitch":