fix: replace undefined formatByteSize with formatBytes (#57)
JsonConvertSection.tsx and JsonFormatSection.tsx were calling formatByteSize which doesn't exist. The correct function name imported from @/utils/format is formatBytes. Co-authored-by: Ubuntu <ubuntu@localhost.localdomain>
This commit is contained in:
@@ -103,7 +103,7 @@ export default function JsonConvertSection({
|
||||
<span>
|
||||
{t('jsonFormat:formattedSize')}:{' '}
|
||||
<span className="font-semibold text-foreground/80">
|
||||
{formatByteSize(result.outputBytes)}
|
||||
{formatBytes(result.outputBytes)}
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user