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

Commit b93bc40

Browse files
authored
Merge pull request #520 from topcoder-platform/hotfix/intake-job-description
[DEV] [Hotfix] intake job description
2 parents 49890b4 + d806880 commit b93bc40

File tree

1 file changed

+4
-4
lines changed
  • src/routes/CreateNewTeam/pages/InputJobDescription

1 file changed

+4
-4
lines changed

src/routes/CreateNewTeam/pages/InputJobDescription/index.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ function InputJobDescription() {
3131
}, []);
3232

3333
const searchObject = useMemo(() => {
34-
if (jobTitle && jobTitle.length) {
35-
return { jobTitle, skills: selectedSkills };
34+
if (jobTitle && jobTitle.length && jdString) {
35+
return { jobTitle, skills: selectedSkills, jobDescription: jdString };
3636
}
37-
return { skills: selectedSkills };
38-
}, [jobTitle, selectedSkills]);
37+
return { skills: selectedSkills, jobDescription: jdString };
38+
}, [jobTitle, selectedSkills, jdString]);
3939

4040
const onClick = useCallback(() => {
4141
setLoadingSkills(true);

0 commit comments

Comments
 (0)