Skip to content

Commit 33ccbfe

Browse files
committed
remove {''} strings in student work detail view
1 parent 706c2c1 commit 33ccbfe

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

source/views/sis/student-work/detail.ios.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function Information({job}: {job: JobType}) {
3838
<Cell
3939
accessory="DisclosureIndicator"
4040
cellStyle="LeftDetail"
41-
detail={'Contact'}
41+
detail="Contact"
4242
onPress={() => email([job.contactEmail], null, null, job.title, '')}
4343
title={getContactName(job).trim() || job.contactEmail}
4444
/>
@@ -48,21 +48,17 @@ function Information({job}: {job: JobType}) {
4848
const hours = job.hoursPerWeek ? (
4949
<Cell
5050
cellStyle="LeftDetail"
51-
detail={'Hours'}
51+
detail="Hours"
5252
title={job.hoursPerWeek + ending}
5353
/>
5454
) : null
5555

5656
const amount = job.timeOfHours ? (
57-
<Cell
58-
cellStyle="LeftDetail"
59-
detail={'Time of Day'}
60-
title={job.timeOfHours}
61-
/>
57+
<Cell cellStyle="LeftDetail" detail="Time of Day" title={job.timeOfHours} />
6258
) : null
6359

6460
const category = job.type ? (
65-
<Cell cellStyle="LeftDetail" detail={'Category'} title={job.type} />
61+
<Cell cellStyle="LeftDetail" detail="Category" title={job.type} />
6662
) : null
6763

6864
return (

0 commit comments

Comments
 (0)