diff --git a/package.json b/package.json index 1c4768dff..9bc6012d4 100755 --- a/package.json +++ b/package.json @@ -207,7 +207,7 @@ }, "dependencies": { "@babel/runtime": "^7.18.9", - "@gooddollar/good-design": "^0.0.59", + "@gooddollar/good-design": "^0.0.61", "@gooddollar/goodprotocol": "^2.0.3", "@gooddollar/web3sdk": "^0.1.20", "@gooddollar/web3sdk-v2": "^0.1.85", diff --git a/src/pages/gd/Claim/index.tsx b/src/pages/gd/Claim/index.tsx index edae22730..702f0de6a 100644 --- a/src/pages/gd/Claim/index.tsx +++ b/src/pages/gd/Claim/index.tsx @@ -44,7 +44,8 @@ const Claim = memo(() => { } else { setClaimed(false) } - }, [claimAmount, state, resetState]) + // eslint-disable-next-line react-hooks-addons/no-unused-deps + }, [claimAmount, state, send, chainId, resetState]) // upon switching chain we want temporarily to poll everyBlock up untill we have the latest data useEffect(() => { diff --git a/yarn.lock b/yarn.lock index ac3aa2eb2..3245c3d88 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3964,9 +3964,9 @@ __metadata: languageName: node linkType: hard -"@gooddollar/good-design@npm:^0.0.59": - version: 0.0.59 - resolution: "@gooddollar/good-design@npm:0.0.59" +"@gooddollar/good-design@npm:^0.0.61": + version: 0.0.61 + resolution: "@gooddollar/good-design@npm:0.0.61" dependencies: "@babel/core": ^7.18.10 "@babel/runtime": ^7.18.9 @@ -3992,7 +3992,7 @@ __metadata: react-number-format: ^5.1.1 react-use-promise: ^0.5.0 require-from-string: ^2.0.2 - checksum: 6dc563d275f75c6b497575037a677aac1367e3904ecd74ec04d5eb4df019ea392769636498e3b6c2a3e918f5fc537b16cb82e936960625ccba734380c6a625f2 + checksum: 059441f33ddae471a9fee66df46cf4c3bbdd7e2da9c116ae250c2afc06b20d541219794d68d0f4c730e04c189bc8d6a53c4103abeebb82f1ce6613748431c57e languageName: node linkType: hard @@ -4044,7 +4044,7 @@ __metadata: "@ethersproject/experimental": ^5.0.1 "@fontsource/dm-sans": ^4.2.2 "@fullhuman/postcss-purgecss": ^4.0.3 - "@gooddollar/good-design": ^0.0.59 + "@gooddollar/good-design": ^0.0.61 "@gooddollar/goodprotocol": ^2.0.3 "@gooddollar/web3sdk": ^0.1.20 "@gooddollar/web3sdk-v2": ^0.1.85