From 23e9a965cb6d38389b34ddd13870025154447f8b Mon Sep 17 00:00:00 2001 From: khadar vali Date: Mon, 10 Mar 2025 14:42:22 +0530 Subject: [PATCH] added the alert logic for the coordinators with no on chain swap --- frontend/src/components/MakerForm/SelectCoordinator.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/components/MakerForm/SelectCoordinator.tsx b/frontend/src/components/MakerForm/SelectCoordinator.tsx index 6c869cd3..75cab8fa 100644 --- a/frontend/src/components/MakerForm/SelectCoordinator.tsx +++ b/frontend/src/components/MakerForm/SelectCoordinator.tsx @@ -9,6 +9,7 @@ import { type SelectChangeEvent, CircularProgress, Stack, + Alert } from '@mui/material'; import { Link } from '@mui/icons-material'; import RobotAvatar from '../RobotAvatar'; @@ -45,6 +46,13 @@ const SelectCoordinator: React.FC = ({ return ( + + {!coordinator?.info?.swap_enabled && ( + + {t('This coordinator does not support on-chain swaps.')} + + )} +