rep defecty 35
This commit is contained in:
@@ -10,7 +10,7 @@ import ReactPDF, {
|
||||
} from "@react-pdf/renderer";
|
||||
import { createElement } from "react";
|
||||
import Html from "react-pdf-html";
|
||||
import { getFormCollectionByID } from "../../components/utils";
|
||||
import { getFormCollectionByID, bytesToSize } from "../../components/utils";
|
||||
|
||||
import transLookupCY from "../../locales/cy/myrepresentations.json";
|
||||
import transLookupEN from "../../locales/en/myrepresentations.json";
|
||||
@@ -377,7 +377,9 @@ export const finalComments_pdf = ({ docProps }) => {
|
||||
styles.questionTextMid
|
||||
}
|
||||
>
|
||||
{p.name} - {p.size}
|
||||
{p.name} -{" "}
|
||||
{bytesToSize(p.size)}{" "}
|
||||
{"\n"}
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user