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>
|
<script>
|
||||||
let {stream, type} = $props();
|
let {stream, type} = $props();
|
||||||
|
|
||||||
let src;
|
let src = $state(null);
|
||||||
let data;
|
let data = $state(null);
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case "twitch":
|
case "twitch":
|
||||||
|
|
Loading…
Reference in a new issue