Skip to content

Commit

Permalink
Fixed ternary operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Sallaa committed Sep 6, 2024
1 parent 24d860c commit 58f6eea
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 58f6eea

Please sign in to comment.