rep defecty 35
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user