[feature-107] Implement playlists linking + remove possibility to play a playlist for now + some refacto

This commit is contained in:
MathieuG-P
2024-02-26 15:24:51 +01:00
parent a36ccb0c13
commit 487d0c1f8b
19 changed files with 192 additions and 71 deletions
@@ -40,5 +40,5 @@ export const BsmImage = forwardRef<HTMLImageElement, Props>(({ className, image,
setIsLoaded(() => true);
};
return <img ref={ref} title={title} className={className} src={imageSrc} loading={loading} onLoad={handleLoaded} onError={handleError} style={styles} onClick={e => onClick?.(e)} alt=" " decoding="async" />;
return <img ref={ref} title={title} className={className} src={imageSrc} loading={loading ?? "lazy"} onLoad={handleLoaded} onError={handleError} style={styles} onClick={e => onClick?.(e)} alt=" " decoding="async" />;
});