diff --git a/deploy-web/package-lock.json b/deploy-web/package-lock.json index 0ceda0613..ef1680f4b 100644 --- a/deploy-web/package-lock.json +++ b/deploy-web/package-lock.json @@ -1,12 +1,12 @@ { "name": "cloudmos-app", - "version": "1.6.0", + "version": "1.6.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cloudmos-app", - "version": "1.6.0", + "version": "1.6.1", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/deploy-web/package.json b/deploy-web/package.json index aa0aa0d0b..b0a00d4a0 100644 --- a/deploy-web/package.json +++ b/deploy-web/package.json @@ -1,6 +1,6 @@ { "name": "cloudmos-app", - "version": "1.6.0", + "version": "1.6.1", "description": "Web UI to deploy on the Akash Network and view statistic about network usage.", "author": "Cloudmos", "private": true, diff --git a/deploy-web/src/components/home/YourAccount.tsx b/deploy-web/src/components/home/YourAccount.tsx index eaa33393a..0bb42f44f 100644 --- a/deploy-web/src/components/home/YourAccount.tsx +++ b/deploy-web/src/components/home/YourAccount.tsx @@ -68,9 +68,9 @@ export const YourAccount: React.FunctionComponent = ({ balances, isLoadin const router = useRouter(); const { address } = useKeplr(); const usdcIbcDenom = useUsdcDenom(); - const [selectedDataId, setSelectedDataId] = useState(null); - const [costPerMonth, setCostPerMonth] = useState(null); - const [userProviders, setUserProviders] = useState(null); + const [selectedDataId, setSelectedDataId] = useState(null); + const [costPerMonth, setCostPerMonth] = useState(null); + const [userProviders, setUserProviders] = useState<{ owner: string; name: string }[]>(null); const escrowUAktSum = activeDeployments .filter(x => x.escrowAccount.balance.denom === uAktDenom) .map(x => x.escrowBalance) @@ -256,8 +256,8 @@ export const YourAccount: React.FunctionComponent = ({ balances, isLoadin Providers - - {userProviders?.map((p, i) => ( + + {userProviders?.map(p => ( = ({ balances, isLoadin color="secondary" variant="outlined" onClick={() => router.push(UrlService.providerDetail(p.owner))} - sx={{ marginLeft: i > 0 ? ".5rem" : 0 }} /> ))}