fix error on album/albumartist header image (#1299)

This commit is contained in:
jeffvli
2025-12-03 19:01:23 -08:00
parent cb2581252b
commit d8df70eddd
4 changed files with 7 additions and 7 deletions
@@ -69,11 +69,11 @@ export const BackgroundOverlay = ({
interface LibraryBackgroundProps {
blur?: number;
headerRef: React.RefObject<HTMLDivElement | null>;
imageUrl?: string;
imageUrl: null | string;
}
export const LibraryBackgroundImage = ({ blur, headerRef, imageUrl }: LibraryBackgroundProps) => {
const url = `url(${imageUrl})`;
const url = imageUrl ? `url(${imageUrl})` : undefined;
const height = useHeaderHeight(headerRef);
return (
<>