Skip to content

Commit b7b89da

Browse files
committed
feat(suite): Fees redesign
feat(components): disable vertical align of SelectBar on demand
1 parent c8a07e8 commit b7b89da

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/suite/src/components/wallet/Fees/CustomFee.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import { useSelector, useTranslation } from 'src/hooks/suite';
3535
import { selectLanguage } from 'src/reducers/suite/suiteReducer';
3636
import { validateDecimals } from 'src/utils/suite/validation';
3737

38+
import { BorderTopWrapper } from './Fees';
3839
import { InputError } from '../InputError';
3940

4041
const FEE_PER_UNIT = 'feePerUnit';
@@ -78,6 +79,7 @@ export const CustomFee = <TFieldValues extends FormState>({
7879

7980
const feePerUnitError = errors.feePerUnit;
8081
const feeLimitError = errors.feeLimit;
82+
const { elevation } = useElevation();
8183

8284
const useFeeLimit = networkType === 'ethereum';
8385
const isComposedFeeRateDifferent =

packages/suite/src/components/wallet/Fees/Fees.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import {
3333
Text,
3434
Tooltip,
3535
motionEasing,
36+
useElevation,
3637
} from '@trezor/components';
3738
import { FeeLevel } from '@trezor/connect';
3839
import { spacings, spacingsPx } from '@trezor/theme';

0 commit comments

Comments
 (0)