Skip to content

Commit

Permalink
fix for wix
Browse files Browse the repository at this point in the history
  • Loading branch information
TigranBoomTech committed Oct 3, 2024
1 parent 63f0fbc commit 5d3b02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Body/Fields/File/Preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Preview = ({
</span>
<progress value={percentage} max='100'></progress>
<span className="boomFileUpload-file__size">
{listType === "loaded"
{listType === "loaded" && completedContent
? completedContent
: `${makeSize((size * percentage) / 100)}${
percentage !== 100 ? ` of ${makeSize(size)}` : ""
Expand Down

0 comments on commit 5d3b02a

Please sign in to comment.