Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
9 changes: 5 additions & 4 deletions features/overview/components/balance/balance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ const sectionPayloadList: SectionPayload[] = [
actionText: 'Deposit to validators',
actionLink: '/supply/fund',
},
{
title: 'Deposited to validators',
key: 'depositedToValidators',
},
// TODO: add this after the metrics are implemented
// {
Comment thread
ev-d marked this conversation as resolved.
// title: 'Deposited to validators',
// key: 'depositedToValidators',
// },
{
title: 'Total locked',
key: 'totalLocked',
Expand Down
3 changes: 0 additions & 3 deletions features/overview/contexts/vault-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export interface VaultOverviewContextType {
totalMintingCapacity: string;
withdrawableEth: string;
balanceEth: string;
depositedToValidators: string;
accumulatedFee: string;
nodeOperatorFee: string;
collateral: string;
Expand Down Expand Up @@ -103,7 +102,6 @@ export const VaultOverviewProvider: FC<PropsWithChildren> = ({ children }) => {
overview.utilizationRatio / 100,
);
const totalMintingCapacity = toStethValue(overview.totalMintingCapacity);
const depositedToValidators = toEthValue(overview.depositedToValidators);
const accumulatedFee = toEthValue(nodeOperatorUnclaimedFee);
const nodeOperatorFee = formatPercent.format(
Number(nodeOperatorFeeBP) / VAULT_TOTAL_BASIS_POINTS,
Expand All @@ -127,7 +125,6 @@ export const VaultOverviewProvider: FC<PropsWithChildren> = ({ children }) => {
totalMintingCapacity,
withdrawableEth,
balanceEth,
depositedToValidators,
accumulatedFee,
nodeOperatorFee,
collateral,
Expand Down
1 change: 1 addition & 0 deletions features/overview/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ export const OverviewWrapper = styled.div`
flex-direction: column;
gap: ${({ theme }) => theme.spaceMap.md}px;
max-width: 806px;
min-width: 540px;
margin: 0 auto;
`;
1 change: 1 addition & 0 deletions features/settings/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const PageWrapper = styled.div`
align-items: center;
gap: ${({ theme }) => theme.spaceMap.md}px;
max-width: 600px;
min-width: 540px;
width: 100%;
margin: ${({ theme }) => theme.spaceMap.md}px auto 0;
padding: 0;
Expand Down
3 changes: 1 addition & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11602,8 +11602,7 @@ winston@*:
triple-beam "^1.3.0"
winston-transport "^4.5.0"

"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
name wrap-ansi-cjs
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
Expand Down
Loading