Skip to content

Commit 6ad338e

Browse files
Apply suggestions from code review
Co-authored-by: kirkrodrigues <[email protected]>
1 parent 703cea2 commit 6ad338e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

new-log-viewer/src/components/CentralContainer/Sidebar/SidebarTabs/FileInfoTabPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import CustomTabPanel from "./CustomTabPanel";
2222

2323

2424
/**
25-
* Displays a panel containing the file name and original size of the selected file.
25+
* Displays a panel containing the file name and on-disk size of the selected file.
2626
*
2727
* @return
2828
*/
@@ -31,7 +31,7 @@ const FileInfoTabPanel = () => {
3131

3232
const isFileUnloaded = 0 === fileName.length;
3333
const formattedOriginalSize = useMemo(
34-
() => formatSizeInBytes(originalFileSizeInBytes),
34+
() => formatSizeInBytes(originalFileSizeInBytes, false),
3535
[originalFileSizeInBytes]
3636
);
3737

0 commit comments

Comments
 (0)