Skip to content

Commit 1364dbd

Browse files
committed
fix: lint
1 parent bd7477f commit 1364dbd

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

src/apps/profiles/src/member-profile/work-expirence/WorkExperience.utils.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
export const IndustryEnumToLabel: {
22
[key: string]: string
33
} = {
4-
'ConsumerGoods': 'Consumer goods',
5-
'PublicSector': 'Public sector',
6-
'TechAndTechnologyService': 'Tech & technology services',
7-
'TravelAndHospitality' : 'Travel & hospitality',
4+
ConsumerGoods: 'Consumer goods',
5+
PublicSector: 'Public sector',
6+
TechAndTechnologyService: 'Tech & technology services',
7+
TravelAndHospitality: 'Travel & hospitality',
88
}
99

1010
export const IndustryLabelToEnum: {
@@ -16,8 +16,7 @@ export const IndustryLabelToEnum: {
1616
'Travel & hospitality': 'TravelAndHospitality',
1717
}
1818

19-
20-
export const getIndustryOptionValues = (v: string) => {
19+
export const getIndustryOptionValues = (v: string): string => {
2120
const values = Object.values(IndustryEnumToLabel)
2221
const keys = Object.keys(IndustryEnumToLabel)
2322
if (values.includes(v)) {
@@ -31,11 +30,11 @@ export const getIndustryOptionValues = (v: string) => {
3130
return v
3231
}
3332

34-
export const getIndustryOptionLabels = (v: string) => {
33+
export const getIndustryOptionLabels = (v: string): string => {
3534
const keys = Object.keys(IndustryEnumToLabel)
3635
if (keys.includes(v)) {
3736
return IndustryEnumToLabel[v]
3837
}
3938

4039
return v
41-
}
40+
}

src/apps/profiles/src/member-profile/work-expirence/WorkExpirenceCard/WorkExpirenceCard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { getIndustryOptionLabels } from '../WorkExperience.utils'
88

99
import styles from './WorkExpirenceCard.module.scss'
1010

11-
1211
interface WorkExpirenceCardProps {
1312
work: UserTrait
1413
isModalView?: boolean

0 commit comments

Comments
 (0)