MCPcopy Index your code
hub / github.com/caesarHQ/textSQL / handleSearchClick

Function handleSearchClick

client/censusGPT/src/App.js:796–805  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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',

Callers

nothing calls this directly

Calls 2

capturePosthogFunction · 0.90
fetchBackendFunction · 0.85

Tested by

no test coverage detected