hello deepseek?

This commit is contained in:
Violet Caulfield
2025-01-22 06:29:13 -06:00
parent 829a788fed
commit afd4f97a1b
2 changed files with 6 additions and 8 deletions

View File

@@ -15,12 +15,8 @@ export function fetchItemImage(itemId: string, imageType?: ImageType, width?: nu
})
.then(async (response) => {
console.log(response.data)
return new Blob(response.data)
}).then(async (blob) => {
const encoding = await blobToBase64(blob)
console.debug(encoding);
return encoding;
});
return URL.createObjectURL(response.data)
})
}
function base64toJpeg(encode: string) : string {

View File

@@ -19,11 +19,13 @@ export default function BlurhashedImage({ item, size, type }: { item: BaseItemDt
: undefined;
return (
<View minHeight={size}>
<View minHeight={size} minWidth={size}>
{ isSuccess ? (
<Image
src={image}
source={{
uri: image
}}
style={{
height: size,
width: size,