diff --git a/src/components/Earn/Lend/LendingActionButtons.tsx b/src/components/Earn/Lend/LendingActionButtons.tsx index 36761f36..76f74d27 100644 --- a/src/components/Earn/Lend/LendingActionButtons.tsx +++ b/src/components/Earn/Lend/LendingActionButtons.tsx @@ -33,12 +33,12 @@ export default function LendingActionButtons(props: Props) { const accountId = useAccountId() const hasNoDeposit = !!(!assetDepositAmount && address && accountId) - const handleWithdraw = useCallback(() => { + const handleUnlend = useCallback(() => { if (isAutoLendEnabledForCurrentAccount) { showAlertDialog({ title: 'Disable Automatically Lend Assets', description: - "Your auto-lend feature is currently enabled. To recover your funds, please confirm if you'd like to disable this feature in order to continue.", + "Your auto-lend feature is currently enabled. To unlend your funds, please confirm if you'd like to disable this feature in order to continue.", positiveButton: { onClick: () => document.getElementById(ACCOUNT_MENU_BUTTON_ID)?.click(), text: 'Continue to Account Settings', @@ -62,10 +62,10 @@ export default function LendingActionButtons(props: Props) { leftIcon={} iconClassName={iconClassnames} color='secondary' - onClick={handleWithdraw} + onClick={handleUnlend} className={buttonClassnames} > - Withdraw + Unlend )} diff --git a/src/components/Modals/LendAndReclaim/index.tsx b/src/components/Modals/LendAndReclaim/index.tsx index 8f4c2d3a..1e1aa532 100644 --- a/src/components/Modals/LendAndReclaim/index.tsx +++ b/src/components/Modals/LendAndReclaim/index.tsx @@ -32,7 +32,7 @@ function LendAndReclaimModal({ currentAccount, config }: Props) { const { asset } = data const isLendAction = action === 'lend' - const actionText = isLendAction ? 'Lend' : 'Withdraw' + const actionText = isLendAction ? 'Lend' : 'Unlend' const coinBalances = currentAccount[isLendAction ? 'deposits' : 'lends'] ?? [] const handleAmountChange = useCallback( diff --git a/src/store/slices/broadcast.ts b/src/store/slices/broadcast.ts index 6e4ebb87..30cbf496 100644 --- a/src/store/slices/broadcast.ts +++ b/src/store/slices/broadcast.ts @@ -87,7 +87,7 @@ export default function createBroadcastSlice( case 'withdraw': toast.content.push({ coins: changes.deposits?.map((deposit) => deposit.toCoin()) ?? [], - text: target === 'wallet' ? 'Withdrew to Wallet' : 'Reclaimed from lends', + text: target === 'wallet' ? 'Withdrew to Wallet' : 'Unlent', }) break