decentdao / decent-interface

Govern at startup speed
https://app.decentdao.org
MIT License
14 stars 7 forks source link

Wrap `getAddressContractType` in `useCallback` #2507

Closed mudrila closed 1 week ago

mudrila commented 1 week ago

getAddressContractType was causing an infinity loop in useAzoriusListeners cause it wasn't wrapped in useCallback but was coming from the hook.

netlify[bot] commented 1 week ago

Deploy Preview for decent-interface-dev ready!

Name Link
Latest commit 25199c163d239af163a2fc675cae1e3ec285c5b6
Latest deploy log https://app.netlify.com/sites/decent-interface-dev/deploys/6737afc44407da000860f072
Deploy Preview https://deploy-preview-2507.app.dev.decentdao.org
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.