Skip to content

Commit

Permalink
bump, renames
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleroooo committed Sep 26, 2024
1 parent b4f5c73 commit 2a96053
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@cosmjs/stargate": "^0.32.1",
"@cosmjs/tendermint-rpc": "^0.32.1",
"@datadog/browser-logs": "^5.23.3",
"@dydxprotocol/v4-abacus": "1.11.23",
"@dydxprotocol/v4-abacus": "1.11.24",
"@dydxprotocol/v4-client-js": "1.6.1",
"@dydxprotocol/v4-localization": "^1.1.203",
"@dydxprotocol/v4-proto": "^6.0.1",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/layout/Header/HeaderDesktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const HeaderDesktop = () => {
value: 'VAULT',
label: (
<>
{stringGetter({ key: STRING_KEYS.VAULT })}{' '}
{stringGetter({ key: STRING_KEYS.MEGAVAULT })}{' '}
<NewTag>{stringGetter({ key: STRING_KEYS.NEW })}</NewTag>
</>
),
Expand Down
2 changes: 1 addition & 1 deletion src/pages/portfolio/Overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const Overview = () => {
<$MaybeVaultPositionsPanel
header={
<ContentSectionHeader
title={stringGetter({ key: STRING_KEYS.VAULT })}
title={stringGetter({ key: STRING_KEYS.MEGAVAULT })}
slotRight={
isTablet && (
<Link onClick={handleViewVault} isAccent tw="font-small-book">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/portfolio/Positions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const Positions = () => {
<$MaybeVaultPositionsPanel
header={
<ContentSectionHeader
title={stringGetter({ key: STRING_KEYS.VAULT })}
title={stringGetter({ key: STRING_KEYS.MEGAVAULT })}
slotRight={
isTablet && (
<Link onClick={handleViewVault} isAccent tw="font-small-book">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/vaults/VaultInfoSections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export const VaultHeader = ({ className }: { className?: string }) => {
<img src="/dydx-chain.png" tw="h-3.5 w-3.5" />
<div>
<h3 tw="text-color-text-2 font-extra-medium">
{stringGetter({ key: STRING_KEYS.VAULT })}
{stringGetter({ key: STRING_KEYS.MEGAVAULT })}
</h3>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/vaults/VaultPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { VaultTransactionsCard } from './VaultTransactions';
const VaultPage = () => {
const stringGetter = useStringGetter();
const dispatch = useAppDispatch();
useDocumentTitle(stringGetter({ key: STRING_KEYS.VAULT }));
useDocumentTitle(stringGetter({ key: STRING_KEYS.MEGAVAULT }));

const { isTablet } = useBreakpoints();
if (isTablet) {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/vaults/VaultPositions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const VaultPositionCard = ({ onViewVault, vault }: VaultPositionCardProps

return (
<PortfolioCard
assetName={stringGetter({ key: STRING_KEYS.VAULT })}
assetName={stringGetter({ key: STRING_KEYS.MEGAVAULT })}
assetIcon={<img src="/dydx-chain.png" tw="h-1.5 w-1.5" />}
detailLabel={stringGetter({ key: STRING_KEYS.YOUR_VAULT_BALANCE })}
detailValue={<Output type={OutputType.Fiat} value={vault?.balanceUsdc} />}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/vaults/VaultPositionsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const VaultPositionsTable = ({ className }: { className?: string }) => {
withOuterBorder
data={vaultsData}
getRowKey={(row) => row.marketId ?? ''}
label={stringGetter({ key: STRING_KEYS.VAULT })}
label={stringGetter({ key: STRING_KEYS.MEGAVAULT })}
onRowAction={(marketId: Key) =>
navigate(`${AppRoute.Trade}/${marketId}`, { state: { from: AppRoute.Vault } })
}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/vaults/VaultTransactions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const VaultTransactionsCard = ({ className }: { className?: string }) =>
{transactions.length > 0 ? (
<>
<div tw="flex justify-between px-1 py-0.625">
<h3 tw="leading-7 font-base-medium">
<h3 tw="leading-7">
{stringGetter({ key: STRING_KEYS.YOUR_DEPOSITS_AND_WITHDRAWALS })}
<span tw="ml-0.5 text-color-text-0">{transactions.length}</span>
</h3>
Expand Down Expand Up @@ -110,7 +110,7 @@ const VaultTransactionsTable = ({ className }: { className?: string }) => {
withInnerBorders
data={transactions}
getRowKey={(row) => row.id ?? ''}
label={stringGetter({ key: STRING_KEYS.VAULT })}
label={stringGetter({ key: STRING_KEYS.MEGAVAULT })}
defaultSortDescriptor={{
column: 'time',
direction: 'descending',
Expand Down
2 changes: 1 addition & 1 deletion src/views/dialogs/VaultDepositWithdrawDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const VaultDepositWithdrawDialog = ({
title={
<div tw="row gap-1 font-extra-bold">
<img src="/dydx-chain.png" tw="h-2.5 w-2.5" />
{stringGetter({ key: STRING_KEYS.VAULT })}
{stringGetter({ key: STRING_KEYS.MEGAVAULT })}
</div>
}
hasHeaderBorder
Expand Down
2 changes: 1 addition & 1 deletion src/views/menus/useGlobalCommands.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const useGlobalCommands = (): MenuConfig<string | number, string | number
showVaults && {
value: 'vaults',
slotBefore: <Icon iconName={IconName.Governance} />,
label: stringGetter({ key: STRING_KEYS.VAULT }),
label: stringGetter({ key: STRING_KEYS.MEGAVAULT }),
onSelect: () => navigate(AppRoute.Vault),
},
].filter(isTruthy),
Expand Down

0 comments on commit 2a96053

Please sign in to comment.