Add state to src and data in Stream component
This commit is contained in:
parent
43e2e48baa
commit
f050b15767
1 changed files with 2 additions and 2 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue