diff --git a/README.md b/README.md index 51154f1..fbd8e8c 100644 --- a/README.md +++ b/README.md @@ -157,8 +157,8 @@ import { View } from 'react-native'; import { useCurrentSong, useIsPlaying } from '@lomray/react-native-apple-music'; function MusicPlayerComponent() { - const currentSong = useCurrentSong(); - const isPlaying = useIsPlaying(); + const { song } = useCurrentSong(); + const { isPlaying } = useIsPlaying(); return (