()
| 37 | const [searchParams, setSearchParams] = useSearchParams(); |
| 38 | |
| 39 | const handleClick = () => { |
| 40 | acceptSuggestion(currentSuggestionId) |
| 41 | setSearchParams(new URLSearchParams({ s: props.suggestedQuery })) |
| 42 | setTitle(suggestedQuery) |
| 43 | setQuery(suggestedQuery) |
| 44 | fetchBackend(suggestedQuery, currentSuggestionId) |
| 45 | }; |
| 46 | |
| 47 | const clickableQuery = ( |
| 48 | <div style={{ wordWrap: 'break-word' }}> |
nothing calls this directly
no test coverage detected