Skip to content

Commit

Permalink
Merge pull request #293 from NIAEFEUP/develop
Browse files Browse the repository at this point in the history
Hotfix: invalid array query params
  • Loading branch information
Naapperas authored Dec 13, 2022
2 parents b65a95f + c119f31 commit aba9349
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/HomePage/URLSearchParamsParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const URLSearchParamsParser = ({ showSearchResults }) => {
jobMaxDuration: queryParams.jobMaxDuration,
jobMinDuration: queryParams.jobMinDuration,
jobType: queryParams.jobType,
fields: ensureArray(queryParams.fields),
technologies: ensureArray(queryParams.technologies),
fields: ensureArray(queryParams.fields ?? []),
technologies: ensureArray(queryParams.technologies ?? []),
});

// we specifically want this to only run once to avoid infinite re-renders
Expand Down

0 comments on commit aba9349

Please sign in to comment.