more ts switches, use setcontext instead of stores
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<script>
|
||||
import { currentStream } from '$lib/stores.svelte.js';
|
||||
import { getStreamContext } from '$lib/stream-context.svelte.ts';
|
||||
|
||||
currentStream.set(null);
|
||||
const ctx = getStreamContext();
|
||||
ctx.clearCurrent();
|
||||
</script>
|
||||
|
||||
<div class="stream-information">
|
||||
|
||||
Reference in New Issue
Block a user