mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +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,
|
||||
streamData,
|
||||
setStreamData(d) {
|
||||
setStreamData(p => {
|
||||
return {...p,...d}
|
||||
})
|
||||
setStreamData(p => ({...p,...d}))
|
||||
},
|
||||
resetStreamData() { setStreamData(null) }
|
||||
}}>
|
||||
|
|
Loading…
Reference in a new issue