diff --git a/src/hooks/useMovie.js b/src/hooks/useMovie.js index 9b7ff5b7..5441444d 100644 --- a/src/hooks/useMovie.js +++ b/src/hooks/useMovie.js @@ -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) } }}>