mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-11 17:19:09 +01:00
changed format
This commit is contained in:
parent
91d7048243
commit
87950ffadf
@ -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…
x
Reference in New Issue
Block a user