There was an error while loading. Please reload this page.
1 parent 88318d7 commit 715f5abCopy full SHA for 715f5ab
1 file changed
src/scenes/home/jobs/featuredJob/featuredJob.js
@@ -29,9 +29,9 @@ const FeaturedJob = ({
29
</div>
30
<div className={styles.detailsContainer}>
31
<FontAwesomeIcon icon={faMapMarkerAlt} size="sm" style={{ color: '#afafaf' }} />
32
- <span className={styles.detail}>{city},</span>
33
- <span className={styles.detail}>{state},</span>
34
- <span className={styles.detail}>{country}</span>
+ {city && <span className={styles.detail}>{city},</span>}
+ {state && <span className={styles.detail}>{state},</span>}
+ {country && <span className={styles.detail}>{country}</span>}
35
36
{remote &&
37
0 commit comments