diff --git a/frontend/src/components/AudioPlayer.jsx b/frontend/src/components/AudioPlayer.jsx index e8fea80..2c3eea2 100644 --- a/frontend/src/components/AudioPlayer.jsx +++ b/frontend/src/components/AudioPlayer.jsx @@ -4,6 +4,11 @@ const SingleAudioPlayer = ({ src }) => { const audioRef = useRef(null); const [isPlaying, setIsPlaying] = useState(false); + // Early return if no src provided + if (!src) { + return
Enter your details to access this collaborative music experience
Collaborative Music Experience
-