Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

features/improve-sdl-builder #24

Merged
merged 10 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 15 additions & 128 deletions deploy-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deploy-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"file-saver": "^2.0.5",
"http-proxy": "^1.18.1",
"jotai": "^2.0.4",
"js-yaml": "^3.14.1",
"js-yaml": "^4.1.0",
"json-stable-stringify": "^1.0.2",
"json2csv": "^5.0.7",
"jsrsasign": "^10.6.1",
Expand Down
18 changes: 1 addition & 17 deletions deploy-web/src/components/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import { StatsCard } from "./StatsCard";
import { FormattedDecimalCurrency } from "../shared/FormattedDecimalCurrency";
import { DiffPercentageChip } from "../shared/DiffPercentageChip";
import { useTheme } from "@mui/material";
import { uaktToAKT } from "@src/utils/priceUtils";
import { BlockRow } from "../blockchain/BlockRow";
import { TransactionRow } from "../blockchain/TransactionRow";
import { useSelectedNetwork } from "@src/hooks/useSelectedNetwork";
import { USDCLabel, USDLabel } from "../shared/UsdLabel";

interface IDashboardProps {
dashboardData: DashboardData;
Expand Down Expand Up @@ -535,19 +535,3 @@ const AKTLabel = () => {
</Box>
);
};

const USDLabel = () => {
return (
<Box component="span" sx={{ marginLeft: ".5rem", fontSize: ".75rem", fontWeight: 300 }}>
$USD
</Box>
);
};

const USDCLabel = () => {
return (
<Box component="span" sx={{ marginLeft: ".5rem", fontSize: ".75rem", fontWeight: 300 }}>
USDC
</Box>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ export const ManifestUpdate: React.FunctionComponent<Props> = ({ deployment, lea
const leaseProviders = leases.map(lease => lease.provider).filter((v, i, s) => s.indexOf(v) === i);

for (const provider of leaseProviders) {
const provider = providers.find(x => x.owner === provider);
await sendManifest(provider, mani);
const providerInfo = providers.find(x => x.owner === provider);
await sendManifest(providerInfo, mani);
}

event(AnalyticsEvents.UPDATE_DEPLOYMENT, {
Expand Down
Loading