mirror of
https://github.com/sussy-code/smov.git
synced 2025-01-01 16:37:39 +01:00
changed format
This commit is contained in:
parent
91d7048243
commit
87950ffadf
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +16,7 @@ export function MovieProvider(props) {
|
||||||
streamUrl: stream,
|
streamUrl: stream,
|
||||||
streamData,
|
streamData,
|
||||||
setStreamData(d) {
|
setStreamData(d) {
|
||||||
setStreamData(p => {
|
setStreamData(p => ({...p,...d}))
|
||||||
return {...p,...d}
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
resetStreamData() { setStreamData(null) }
|
resetStreamData() { setStreamData(null) }
|
||||||
}}>
|
}}>
|
||||||
|
|
Loading…
Reference in a new issue