mirror of
https://github.com/anultravioletaurora/Jellify.git
synced 2026-05-08 14:39:30 -05:00
adding some debug
This commit is contained in:
@@ -23,6 +23,8 @@ export default function BlurhashedImage({
|
||||
borderRadius
|
||||
} : BlurhashLoadingProps) : React.JSX.Element {
|
||||
|
||||
console.debug(`Rendering image`);
|
||||
|
||||
const { data: image, isSuccess } = useQuery({
|
||||
queryKey: [
|
||||
QueryKeys.ItemImage,
|
||||
@@ -32,7 +34,6 @@ export default function BlurhashedImage({
|
||||
Math.ceil(height ?? width / 100) * 100 // So these keys need to match
|
||||
],
|
||||
queryFn: () => fetchItemImage(item.AlbumId ? item.AlbumId : item.Id!, type ?? ImageType.Primary, width, height ?? width),
|
||||
retry: 1
|
||||
});
|
||||
|
||||
const blurhash = !isEmpty(item.ImageBlurHashes)
|
||||
|
||||
Reference in New Issue
Block a user