From e61277f87cd04f0e4e4e9edfc2ef53ae04a18d2b Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 7 Oct 2023 17:10:16 +0000 Subject: [PATCH 1/5] test: update --- packages/dapp/components/lib/hooks/use-balances.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dapp/components/lib/hooks/use-balances.tsx b/packages/dapp/components/lib/hooks/use-balances.tsx index 6eaf6c53a..83257aa1a 100644 --- a/packages/dapp/components/lib/hooks/use-balances.tsx +++ b/packages/dapp/components/lib/hooks/use-balances.tsx @@ -32,7 +32,7 @@ export const BalancesContextProvider: React.FC = ({ children }) => async function refreshBalances() { if (walletAddress && managedContracts && namedContracts) { const [uad, _3crv, uad3crv, ucr, ubq, ucrNft, stakingShares, usdc, dai, usdt] = await Promise.all([ - managedContracts.dollarToken.balanceOf(walletAddress), + managedContracts!.dollarToken.balanceOf(walletAddress), managedContracts._3crvToken.balanceOf(walletAddress), managedContracts.dollarMetapool.balanceOf(walletAddress), managedContracts.creditToken.balanceOf(walletAddress), From bb3baaf08e3fa0f176a142ed9f8d443dfcf733bd Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 7 Oct 2023 17:14:46 +0000 Subject: [PATCH 2/5] test: update cspell --- cspell.json | 1 + 1 file changed, 1 insertion(+) diff --git a/cspell.json b/cspell.json index 3183e89ff..0b1b7e6f0 100644 --- a/cspell.json +++ b/cspell.json @@ -6,6 +6,7 @@ "enableFiletypes": ["solidity"], "words": [ + "!", "!UbiquityDollar", "!UbiquityCredit", "!UbiquityGovernance", From 41e53b89aa053ecf29af942878b48c2f195f4d30 Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 7 Oct 2023 17:15:59 +0000 Subject: [PATCH 3/5] test: update cspell --- packages/dapp/components/lib/hooks/use-balances.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dapp/components/lib/hooks/use-balances.tsx b/packages/dapp/components/lib/hooks/use-balances.tsx index 83257aa1a..6eaf6c53a 100644 --- a/packages/dapp/components/lib/hooks/use-balances.tsx +++ b/packages/dapp/components/lib/hooks/use-balances.tsx @@ -32,7 +32,7 @@ export const BalancesContextProvider: React.FC = ({ children }) => async function refreshBalances() { if (walletAddress && managedContracts && namedContracts) { const [uad, _3crv, uad3crv, ucr, ubq, ucrNft, stakingShares, usdc, dai, usdt] = await Promise.all([ - managedContracts!.dollarToken.balanceOf(walletAddress), + managedContracts.dollarToken.balanceOf(walletAddress), managedContracts._3crvToken.balanceOf(walletAddress), managedContracts.dollarMetapool.balanceOf(walletAddress), managedContracts.creditToken.balanceOf(walletAddress), From 6c7fef9b15bde212d4f23642dc7bdc60e811ae67 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 9 Oct 2023 09:31:06 +0000 Subject: [PATCH 4/5] test: update cspell --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fd3c57179..dd18192f7 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "lint-staged": { "*.{js,jsx,ts,tsx,json}": [ "prettier --write", - "eslint --fix", + "eslint --fix --max-warnings=0", "cspell --no-must-find-files" ], "*.sol": [ From 0f1a29357f642b931017f4e7065d521e732ae70c Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 9 Oct 2023 09:35:53 +0000 Subject: [PATCH 5/5] test: update cspell --- cspell.json | 1 - 1 file changed, 1 deletion(-) diff --git a/cspell.json b/cspell.json index 0b1b7e6f0..3183e89ff 100644 --- a/cspell.json +++ b/cspell.json @@ -6,7 +6,6 @@ "enableFiletypes": ["solidity"], "words": [ - "!", "!UbiquityDollar", "!UbiquityCredit", "!UbiquityGovernance",