diff options
Diffstat (limited to 'lib/context')
| -rw-r--r-- | lib/context/watchPageProvider.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/context/watchPageProvider.js b/lib/context/watchPageProvider.js index c305710..b7d78b3 100644 --- a/lib/context/watchPageProvider.js +++ b/lib/context/watchPageProvider.js @@ -16,6 +16,11 @@ export const WatchPageProvider = ({ children }) => { const [userData, setUserData] = useState(null); const [dataMedia, setDataMedia] = useState(null); + const [ratingModalState, setRatingModalState] = useState({ + isOpen: false, + isFullscreen: false, + }); + const [track, setTrack] = useState(null); return ( @@ -39,6 +44,8 @@ export const WatchPageProvider = ({ children }) => { setDataMedia, autoNext, setAutoNext, + ratingModalState, + setRatingModalState, }} > {children} |