mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-11 17:55:33 +00:00
clear embed id when switching sources
This commit is contained in:
parent
a39c020b34
commit
33b08b86cd
1 changed files with 1 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ export const createSourceSlice: MakeSlice<SourceSlice> = (set, get) => ({
|
|||
set((s) => {
|
||||
s.status = playerStatus.PLAYING;
|
||||
s.sourceId = id;
|
||||
s.embedId = null;
|
||||
});
|
||||
},
|
||||
setEmbedId(id) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue