Skip to content

Commit

Permalink
Merge pull request #580 from AFP-Medialab/578-fcssb
Browse files Browse the repository at this point in the history
Fixed ternary operator
  • Loading branch information
Sallaa authored Sep 6, 2024
2 parents 24d860c + 58f6eea commit 80d0c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NavItems/tools/SemanticSearch/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const SemanticSearch = () => {
setHasUserSubmittedForm(true);
setErrorMessage("");

const urlText = searchString ? text : text;
const urlText = searchString ? searchString : text;

let searchResults;
try {
Expand Down

0 comments on commit 80d0c23

Please sign in to comment.