Skip to content

Commit

Permalink
Fix : Sample File Size Unit
Browse files Browse the repository at this point in the history
Sample data had size label showing wrong memory units

13k instead of 13KB
2.8mb instead of 2.8MB

small b corresponds to bits and this would change entire
meaning of file so fixed it
  • Loading branch information
harsh26shah03 committed Apr 4, 2023
1 parent a930e8d commit 4f6138d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/shared/prerendered-app/Intro/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,28 @@ import SlideOnScroll from './SlideOnScroll';
const demos = [
{
description: 'Large photo',
size: '2.8mb',
size: '2.8MB',
filename: 'photo.jpg',
url: largePhoto,
iconUrl: largePhotoIcon,
},
{
description: 'Artwork',
size: '2.9mb',
size: '2.9MB',
filename: 'art.jpg',
url: artwork,
iconUrl: artworkIcon,
},
{
description: 'Device screen',
size: '1.6mb',
size: '1.6MB',
filename: 'pixel3.png',
url: deviceScreen,
iconUrl: deviceScreenIcon,
},
{
description: 'SVG icon',
size: '13k',
size: '13KB',
filename: 'squoosh.svg',
url: logo,
iconUrl: logoIcon,
Expand Down

0 comments on commit 4f6138d

Please sign in to comment.