()
| 794 | }, []) |
| 795 | |
| 796 | const handleSearchClick = () => { |
| 797 | currentGenerationId = null |
| 798 | setSearchParams(`?${new URLSearchParams({ s: query })}`) |
| 799 | setTitle(query) |
| 800 | capturePosthog('search_clicked', { |
| 801 | natural_language_query: query, |
| 802 | trigger: 'button', |
| 803 | }) |
| 804 | fetchBackend(query) |
| 805 | } |
| 806 | |
| 807 | const polygonsGeoJSON = { |
| 808 | type: 'FeatureCollection', |
nothing calls this directly
no test coverage detected