@@ -5,7 +5,7 @@ import { Tooltip } from '~/libs/ui'
55import { EnvironmentConfig } from '~/config'
66
77import { SkillLabel } from '..'
8- import { TCAEMSISkillType } from '../../data-providers'
8+ import { TCASkillType } from '../../data-providers'
99
1010import styles from './SkillTags.module.scss'
1111
@@ -15,7 +15,7 @@ interface SkillTagsProps {
1515 label ?: string
1616 theme ?: 'white' | 'gray' | undefined
1717 skills ?: Array < string > | null | undefined
18- emsiSkills ?: TCAEMSISkillType [ ]
18+ emsiSkills ?: TCASkillType [ ]
1919}
2020
2121const SkillTags : FC < SkillTagsProps > = ( props : SkillTagsProps ) => {
@@ -24,15 +24,15 @@ const SkillTags: FC<SkillTagsProps> = (props: SkillTagsProps) => {
2424 const label : string = props . label ?? 'skills taught'
2525 const tcaEMSIEnabled : boolean = EnvironmentConfig . ENABLE_EMSI_SKILLS || false
2626
27- const skills : string [ ] | TCAEMSISkillType [ ] = tcaEMSIEnabled ? ( props . emsiSkills || [ ] ) : ( props . skills || [ ] )
27+ const skills : string [ ] | TCASkillType [ ] = tcaEMSIEnabled ? ( props . emsiSkills || [ ] ) : ( props . skills || [ ] )
2828
2929 return (
3030 < div className = { styles . skills } >
3131 { label && (
3232 < span className = { classNames ( 'body-small' , styles . infoText ) } > { label } </ span >
3333 ) }
3434 { skills ?. slice ( 0 , expandCount )
35- . map ( ( skill : string | TCAEMSISkillType ) => (
35+ . map ( ( skill : string | TCASkillType ) => (
3636 < SkillLabel
3737 skill = { skill }
3838 theme = { theme }
0 commit comments