File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
source/views/sis/student-work Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ export function cleanJob(job: JobType): JobType {
1111 const comments = fastGetTrimmedText ( job . comments )
1212 const skills = fastGetTrimmedText ( job . skills )
1313
14- const timeOfHours = job . timeOfHours . toString ( )
1514 const hoursPerWeek = job . hoursPerWeek . trim ( )
1615 const lastModified = job . lastModified . trim ( )
1716 const contactEmail = fixupEmailFormat ( job . contactEmail . trim ( ) )
@@ -28,7 +27,6 @@ export function cleanJob(job: JobType): JobType {
2827 comments,
2928 skills,
3029 hoursPerWeek,
31- timeOfHours,
3230 lastModified,
3331 contactEmail,
3432 contactFirstName,
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ function renderContact(
7878 : null
7979}
8080
81- function renderHours ( timeOfHours : string , hoursPerWeek : string ) {
81+ function renderHours ( timeOfHours : number | string , hoursPerWeek : string ) {
8282 const ending = hoursPerWeek == 'Full-time' ? '' : ' hrs/week'
8383 return timeOfHours && hoursPerWeek
8484 ? < Card header = "Hours" style = { styles . card } >
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ function renderContact(
5151 : null
5252}
5353
54- function renderHours ( timeOfHours : string , hoursPerWeek : string ) {
54+ function renderHours ( timeOfHours : number | string , hoursPerWeek : string ) {
5555 const ending = hoursPerWeek == 'Full-time' ? '' : ' hrs/week'
5656 return timeOfHours && hoursPerWeek
5757 ? < Section header = "HOURS" >
You can’t perform that action at this time.
0 commit comments