diff --git a/docs/docs/api/hooks.md b/docs/docs/api/hooks.md index 4df247584..92d8b93a6 100644 --- a/docs/docs/api/hooks.md +++ b/docs/docs/api/hooks.md @@ -85,7 +85,7 @@ import { usePlaybackState, State } from 'react-native-track-player'; const MyComponent = () => { const playerState = usePlaybackState(); - const isPlaying = playerState === State.Playing; + const isPlaying = playerState.state === State.Playing; return (