Fix black page on attendance sheet
This commit is contained in:
parent
dbe57cffb2
commit
20122427e7
|
@ -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')}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user