Fix black page on attendance sheet

This commit is contained in:
Tanner Collin 2022-02-03 23:38:09 +00:00
parent dbe57cffb2
commit 20122427e7

View File

@ -15,7 +15,7 @@ class AttendanceSheet extends React.Component {
const num = clazz.students.length; const num = clazz.students.length;
return ( return (
<div style={{ padding: '3rem' }}> <div style={{ padding: '3rem', background: 'white', width: '100%', height: '100%' }}>
<Header size='medium'>{clazz.course_data.name} Attendance</Header> <Header size='medium'>{clazz.course_data.name} Attendance</Header>
<p> <p>
{moment.utc(clazz.datetime).tz('America/Edmonton').format('llll')} {moment.utc(clazz.datetime).tz('America/Edmonton').format('llll')}