diff --git a/package-lock.json b/package-lock.json index 85b4acc..9b463e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4566,7 +4566,7 @@ "version": "3.0.2", "license": "MIT", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -6868,8 +6868,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "license": "MIT", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dependencies": { "to-regex-range": "^5.0.1" }, diff --git a/src/Candidate.js b/src/Candidate.js index 1adaf14..c3d606d 100644 --- a/src/Candidate.js +++ b/src/Candidate.js @@ -15,11 +15,37 @@ export default class Candidate extends React.Component { } renderDescription() { - let description = this.props.candidate.description; - if (description !== undefined) { - return (