Skip to content

Commit 674b9e0

Browse files
committed
fix: restore toUserFriendlyAddress options in FaucetPaymentDetailsModal
1 parent 536af7d commit 674b9e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/features/faucet/ui/FaucetPaymentDetailsModal.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ const FaucetPaymentDetailsModal: FC<{
3232
isLoading?: boolean;
3333
onConfirm?: (form: RequestFaucetForm) => void;
3434
}> = ({ isOpen, onClose, amount, receiverAddress, price, isLoading, onConfirm }) => {
35-
const userFriendlyAddress = receiverAddress ? toUserFriendlyAddress(receiverAddress) : '';
35+
const userFriendlyAddress = receiverAddress
36+
? toUserFriendlyAddress(receiverAddress, { testOnly: true, bounceable: false })
37+
: '';
3638

3739
const handleConfirm = useCallback((): void => {
3840
if (onConfirm && amount && receiverAddress) {

0 commit comments

Comments
 (0)