Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit e013a47

Browse files
fix remark
1 parent aa44583 commit e013a47

File tree

1 file changed

+9
-9
lines changed
  • src/containers/MyGigs/JobListing/JobCard

1 file changed

+9
-9
lines changed

src/containers/MyGigs/JobListing/JobCard/index.jsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,18 @@ const JobCard = ({ job }) => {
148148
</div>
149149
<div styleName="card-footer job-card-footer" ref={footerRef}>
150150
<div styleName="note-container">
151-
{job.remark ||
152-
([
151+
{(job.remark ||
152+
[
153153
MY_GIGS_JOB_STATUS.WITHDRAWN,
154154
MY_GIGS_JOB_STATUS.WITHDRAWN_PRESCREEN,
155155
MY_GIGS_JOB_STATUS.COMPLETED,
156-
] && (
157-
<NoteTooltip>
158-
<i styleName="icon">
159-
<IconNote />
160-
</i>
161-
</NoteTooltip>
162-
))}
156+
].includes(job.status)) && (
157+
<NoteTooltip>
158+
<i styleName="icon">
159+
<IconNote />
160+
</i>
161+
</NoteTooltip>
162+
)}
163163
<span styleName="note">
164164
{[
165165
MY_GIGS_JOB_STATUS.WITHDRAWN,

0 commit comments

Comments
 (0)