Skip to content

Commit dce2b4b

Browse files
chore: updating button in balance empty state to be primary instead of hero
1 parent 175af1f commit dce2b4b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

app/components/UI/BalanceEmptyState/BalanceEmptyState.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { useNavigation } from '@react-navigation/native';
44
import { useSelector } from 'react-redux';
55
import {
66
Box,
7+
Button,
8+
ButtonSize,
79
Text,
810
TextVariant,
911
TextColor,
@@ -14,7 +16,6 @@ import {
1416
FontWeight,
1517
} from '@metamask/design-system-react-native';
1618
import { useTailwind } from '@metamask/design-system-twrnc-preset';
17-
import ButtonHero from '../../../component-library/components-temp/Buttons/ButtonHero';
1819
import { strings } from '../../../../locales/i18n';
1920
import { MetaMetricsEvents, useMetrics } from '../../hooks/useMetrics';
2021
import { getDecimalChainId } from '../../../util/networks';
@@ -104,13 +105,14 @@ const BalanceEmptyState: React.FC<BalanceEmptyStateProps> = ({
104105
{strings('wallet.get_ready_for_web3')}
105106
</Text>
106107
</Box>
107-
<ButtonHero
108+
<Button
109+
size={ButtonSize.Lg}
108110
onPress={handleAction}
109111
isFullWidth
110112
testID={`${testID}-action-button`}
111113
>
112114
{strings('wallet.add_funds')}
113-
</ButtonHero>
115+
</Button>
114116
</Box>
115117
);
116118
};

0 commit comments

Comments
 (0)