apibara / starknet-react

A collection of React providers and hooks for StarkNet
https://starknet-react.com
MIT License
369 stars 147 forks source link

core: fix enable/disable query #456

Closed fracek closed 4 months ago

fracek commented 4 months ago

Context

The query hooks have an enabled flag that should be forwarded to react-query. This was not the case for some hooks.

Changes in this Pull Request

This PR forwards the enabled flag to react-query for all hooks.

Test Plan

We updated the read-contract demo to have an option to enable/disable the query.

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
starknet-react-website ❌ Failed (Inspect) Jun 26, 2024 3:13pm
netlify[bot] commented 4 months ago

Deploy Preview for starknet-react ready!

Name Link
Latest commit fcd6ffed8c8a14e565396fa0af4377eaabd985aa
Latest deploy log https://app.netlify.com/sites/starknet-react/deploys/667c2fec720eb90008964c8d
Deploy Preview https://deploy-preview-456--starknet-react.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.