mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 13:00:13 +02:00
fix error on album/albumartist header image (#1299)
This commit is contained in:
@@ -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 (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user