```js const result = await this.props.client.query...
# prisma-whats-new
c
Copy code
js
const result = await this.props.client.query({
          query: ALL_STORES_SEARCH_QUERY,
          variables: { 
              searchText:values.searchText 
            }
        })
👍 1
e
Yes but what? 🤔
c
any logs you have?
put a try catch behind that
around*
a
This would throw up if
this.props.client
was undefined. Can you check that?
e
@coolboyjules thanks a lot, try catch was very useful
a
Out of curiosity, what was the problem?
e
I had descripton on query instead description
👍🏻 1