Removed ID and improved unknown user handling
This commit is contained in:
@@ -7,14 +7,14 @@ import {
|
||||
Text,
|
||||
Image,
|
||||
StyleSheet,
|
||||
Font,
|
||||
} from "@react-pdf/renderer";
|
||||
import { styles } from "./styles";
|
||||
import TestReportFooter from "./test.report.footer";
|
||||
import { ModuleScore } from "@/interfaces/module.scores";
|
||||
import ProgressBar from "./progress.bar";
|
||||
// import { Font } from "@react-pdf/renderer";
|
||||
|
||||
// Font.registerHyphenationCallback((word) => [word]);
|
||||
Font.registerHyphenationCallback((word) => [word]);
|
||||
|
||||
interface Props {
|
||||
date: string;
|
||||
@@ -220,7 +220,6 @@ const GroupTestReport = ({
|
||||
<Text style={customStyles.tableCell}>Date of test</Text>
|
||||
<Text style={customStyles.tableCell}>Result</Text>
|
||||
<Text style={customStyles.tableCell}>Level</Text>
|
||||
<Text style={customStyles.tableCell}>ID</Text>
|
||||
</View>
|
||||
{studentsData.map(
|
||||
({ id, name, email, gender, date, result, level }, index) => (
|
||||
@@ -239,7 +238,6 @@ const GroupTestReport = ({
|
||||
<Text style={customStyles.tableCell}>{date}</Text>
|
||||
<Text style={customStyles.tableCell}>{result}</Text>
|
||||
<Text style={customStyles.tableCell}>{level}</Text>
|
||||
<Text style={customStyles.tableCell}>{id}</Text>
|
||||
</View>
|
||||
)
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user