Skip to content

Commit 1e22980

Browse files
committed
fix: format and lint
1 parent f8988dc commit 1e22980

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

platforms/blabsy/src/components/input/image-preview.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ export function ImagePreview({
6767
type: img.type
6868
}))
6969
});
70-
70+
7171
const processed = combineBase64Images(imagesPreview);
72-
72+
7373
console.log('[ImagePreview] Processed images:', {
7474
originalCount: imagesPreview?.length || 0,
7575
processedCount: processed.length,
@@ -82,7 +82,7 @@ export function ImagePreview({
8282
type: img.type
8383
}))
8484
});
85-
85+
8686
return processed;
8787
}, [imagesPreview]);
8888

platforms/blabsy/src/lib/utils/image-utils.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ export function combineBase64Images(
4242
} else {
4343
// Handle odd number of images (last item)
4444
if (dataPart) {
45-
if (dataPart.src.startsWith('data:') && !dataPart.src.includes(',')) {
45+
if (
46+
dataPart.src.startsWith('data:') &&
47+
!dataPart.src.includes(',')
48+
) {
4649
// Incomplete base64 image, skip it
4750
} else {
4851
result.push(dataPart);

0 commit comments

Comments
 (0)