Skip to content

Commit

Permalink
fixup! feat(eth-staking): update account staked balance ui
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklim committed Feb 28, 2024
1 parent 6cf5055 commit f6685e4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ const initialRun = [
dashboardAssetsGridMode: true,
showDashboardT2B1PromoBanner: false,
showSettingsDesktopAppPromoBanner: true,
stakeEthBannerClosed: false,
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const ClaimEthForm = () => {
/>

{errors[CRYPTO_INPUT] && (
<StyledWarning variant="critical">{errors[CRYPTO_INPUT]?.message}</StyledWarning>
<StyledWarning variant="destructive">{errors[CRYPTO_INPUT]?.message}</StyledWarning>
)}

<ClaimingPeriodWrapper>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const UnstakeEthForm = () => {

<WarningsWrapper>
{errors[CRYPTO_INPUT] && (
<StyledWarning variant="critical">
<StyledWarning variant="destructive">
{errors[CRYPTO_INPUT]?.message}
</StyledWarning>
)}
Expand Down
7 changes: 3 additions & 4 deletions suite-common/wallet-types/src/stakeForm.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { UseFormReturn } from 'react-hook-form';
import { UseFormReturn, FormState as ReactHookFormState } from 'react-hook-form';

import { FormState as ReactHookFormState } from 'react-hook-form/dist/types/form';

import { FeeLevel, Network } from '@trezor/connect';
import { FeeLevel } from '@trezor/connect';
import { FiatCurrencyCode } from '@suite-common/suite-config';
import { Network } from '@suite-common/wallet-config';

import { Output, PrecomposedLevels, RbfTransactionParams } from './transaction';
import { FormOptions } from './sendForm';
Expand Down

0 comments on commit f6685e4

Please sign in to comment.