We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21fb511 commit 0a73e1bCopy full SHA for 0a73e1b
1 file changed
src/components/image-compressor.tsx
@@ -283,7 +283,7 @@ const ImageCompressor = () => {
283
<p className="text-muted-foreground text-sm">
284
JPG, JPEG, PNG, WEBP
285
</p>
286
- <p className="text-destructive text-xs">
+ <p className="text-destructive text-xs" ref={compressedImagesRef}>
287
**PNG formatted images need to be larger than 120KB
288
289
</div>
@@ -315,7 +315,7 @@ const ImageCompressor = () => {
315
<LoadingSpinner compressProgress={compressProgress} />
316
317
) : (
318
- <div ref={compressedImagesRef}>
+ <div>
319
{compressedImages?.length > 0 ? (
320
<PhotoProvider>
321
<div className="grid grid-cols-1 gap-4 py-4 will-change-transform md:grid-cols-2 lg:grid-cols-3">
0 commit comments