1
0
Fork 0
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:
mansoor-roeen-glitch 2021-09-14 01:46:19 +05:30 committed by GitHub
parent 91d7048243
commit 87950ffadf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) }
}}> }}>