Skip to content

Commit

Permalink
Fix TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
julixC committed Feb 20, 2025
1 parent f541658 commit 18748f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/components/FacetItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const FacetItem = ({
value={facet.value}
facetKey={facet.key}
isClicked={selected.toString()}
queryText={searchQuery.variables?.query}
queryText={ (searchQuery.variables.query !== undefined ? searchQuery.variables.query : "")}

Check failure on line 155 in react/components/FacetItem.js

View workflow job for this annotation

GitHub Actions / Lint

Replace `·(searchQuery.variables.query·!==·undefined·?·searchQuery.variables.query·:·"")}` with `⏎··········searchQuery.variables.query·!==·undefined⏎············?·searchQuery.variables.query⏎············:·''`
/>

Check failure on line 156 in react/components/FacetItem.js

View workflow job for this annotation

GitHub Actions / Lint

Insert `······}⏎`
</div>
)
Expand Down

0 comments on commit 18748f2

Please sign in to comment.