kleros / gtcr

Web client for the kleros generalized token curated list
https://curate.kleros.io
MIT License
17 stars 10 forks source link

fix(tcr-card): use valid networkId in place of undefined chainId #251

Closed gratestas closed 2 years ago

gratestas commented 2 years ago

Removed the chainId argument from props since it never gets passed down from the parent component. Replaced with networkId variable provided by web3-react lib within the component.

fixes #249 fixes #247

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
100.0% 100.0% Duplication