From 10e30b9f705ca00443adf75a17c8a78e28589c66 Mon Sep 17 00:00:00 2001 From: asiaznik Date: Thu, 7 Mar 2024 12:17:50 +0100 Subject: [PATCH] chore: move copy --- .../src/components/node-switcher/row-data.tsx | 18 ++++++- .../trading-radio-group/radio-group.tsx | 53 +++++++------------ 2 files changed, 36 insertions(+), 35 deletions(-) diff --git a/libs/environment/src/components/node-switcher/row-data.tsx b/libs/environment/src/components/node-switcher/row-data.tsx index f4dca0d49..a20ed719a 100644 --- a/libs/environment/src/components/node-switcher/row-data.tsx +++ b/libs/environment/src/components/node-switcher/row-data.tsx @@ -1,4 +1,9 @@ -import { TradingRadio } from '@vegaprotocol/ui-toolkit'; +import { + CopyWithTooltip, + TradingRadio, + VegaIcon, + VegaIconNames, +} from '@vegaprotocol/ui-toolkit'; import { useEffect, useState } from 'react'; import { CUSTOM_NODE_KEY } from '../../types'; import { @@ -127,8 +132,17 @@ export const RowData = ({ return ( <> {id !== CUSTOM_NODE_KEY && ( -
+
+ {url.length > 0 && url !== 'custom' && ( + + + + + + )}
)} - - {value && value !== 'custom' && ( - - - - - - )} - + ); };