adding some debug

This commit is contained in:
Violet Caulfield
2025-02-18 19:19:38 -06:00
parent 2ba6755ee0
commit a0066204dd
@@ -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)