rep defecty 35

This commit is contained in:
2025-01-09 12:20:06 +00:00
parent 0b541f8355
commit e79579a2e2
6 changed files with 28 additions and 12 deletions
@@ -7,7 +7,7 @@ import {
View,
} from "@react-pdf/renderer";
import Html from "react-pdf-html";
import { getFormCollectionByID } from "../../components/utils";
import { getFormCollectionByID, bytesToSize } from "../../components/utils";
const styles = StyleSheet.create({
page: {
@@ -289,7 +289,9 @@ export const writtenStatement_pdf = ({ docProps }) => {
styles.questionTextMid
}
>
{p.name} - {p.size}
{p.name} -{" "}
{bytesToSize(p.size)}{" "}
{"\n"}
</Text>
</View>
);