fix: bugs

This commit is contained in:
qier222 2022-06-06 12:56:24 +08:00
parent 0e58bb6e80
commit d09c5fd171
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
6 changed files with 12 additions and 13 deletions

View file

@ -79,7 +79,7 @@ const PlayingNext = ({ className }: { className?: string }) => {
</motion.div>
))}
{(tracks?.songs.length || 0) >= 4 && (
{(tracks?.songs?.length || 0) >= 4 && (
<div className='pointer-events-none sticky bottom-0 h-8 w-full bg-gradient-to-t from-black'></div>
)}
</AnimatePresence>