diff --git a/src/hooks/useMovie.js b/src/hooks/useMovie.js index 5441444d..9b7ff5b7 100644 --- a/src/hooks/useMovie.js +++ b/src/hooks/useMovie.js @@ -16,7 +16,9 @@ export function MovieProvider(props) { streamUrl: stream, streamData, setStreamData(d) { - setStreamData(p => ({...p,...d})) + setStreamData(p => { + return {...p,...d} + }) }, resetStreamData() { setStreamData(null) } }}>