Skip to content

Commit

Permalink
chore: IML legal review (#1362)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvu authored Dec 11, 2024
1 parent bb0f73e commit 4829fbe
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@datadog/browser-logs": "^5.23.3",
"@dydxprotocol/v4-abacus": "1.13.39",
"@dydxprotocol/v4-client-js": "1.12.2",
"@dydxprotocol/v4-localization": "^1.1.256",
"@dydxprotocol/v4-localization": "^1.1.257",
"@dydxprotocol/v4-proto": "^7.0.0-dev.0",
"@funkit/connect": "^4.0.2",
"@emotion/is-prop-valid": "^1.3.0",
Expand Down
22 changes: 11 additions & 11 deletions pnpm-lock.yaml

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

10 changes: 5 additions & 5 deletions src/views/forms/NewMarketForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,17 @@ export const NewMarketForm = ({
const receiptItems: DetailsItem[] = useMemo(() => {
return [
{
key: 'deposit-apr',
label: `${stringGetter({ key: STRING_KEYS.DEPOSIT_APR })} (30${stringGetter({ key: STRING_KEYS.DAYS_ABBREVIATED })})`,
key: 'est-apr',
label: `${stringGetter({ key: STRING_KEYS.EST_APR_PLAIN })} (30${stringGetter({ key: STRING_KEYS.DAYS_ABBREVIATED })})`,
value: <MegaVaultYieldOutput />,
},
{
key: 'deposit-lockup',
label: stringGetter({ key: STRING_KEYS.DEPOSIT_LOCKUP }),
key: 'lockup-period',
label: stringGetter({ key: STRING_KEYS.LOCKUP_PERIOD }),
value: (
<Output
type={OutputType.Text}
value={`30${stringGetter({ key: STRING_KEYS.DAYS_ABBREVIATED })}`}
value={`~30${stringGetter({ key: STRING_KEYS.DAYS_ABBREVIATED })}`}
/>
),
},
Expand Down
4 changes: 2 additions & 2 deletions src/views/forms/NewMarketForm/v7/NewMarketPreviewStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export const NewMarketPreviewStep = ({
{stringGetter({
key: STRING_KEYS.MEGAVAULT_TERMS_TEXT,
params: {
CONFIRM_BUTTON_TEXT: stringGetter({ key: STRING_KEYS.DEPOSIT_AND_LAUNCH }),
CONFIRM_BUTTON_TEXT: stringGetter({ key: STRING_KEYS.ADD_FUNDS_AND_LAUNCH }),
LINK: (
<Link tw="inline-flex" href={launchMarketTos} withIcon>
{stringGetter({ key: STRING_KEYS.LAUNCH_MARKET_TERMS })}
Expand All @@ -368,7 +368,7 @@ export const NewMarketPreviewStep = ({
action={ButtonAction.Primary}
state={{ isDisabled: shouldDisableForm || !hasAcceptedTerms, isLoading }}
>
{stringGetter({ key: STRING_KEYS.DEPOSIT_AND_LAUNCH })}
{stringGetter({ key: STRING_KEYS.ADD_FUNDS_AND_LAUNCH })}
</Button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const NewMarketSelectionStep = ({
<FormInput
disabled
type={InputType.Currency}
label={stringGetter({ key: STRING_KEYS.REQUIRED_AMOUNT_TO_DEPOSIT })}
label={stringGetter({ key: STRING_KEYS.AMOUNT_TO_ADD })}
placeholder="$10,000"
value={`$${DEFAULT_VAULT_DEPOSIT_FOR_LAUNCH}`}
/>
Expand Down

0 comments on commit 4829fbe

Please sign in to comment.