From d2fc056ec71a3f8816a26ddeda49d571ef464682 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Thu, 7 Sep 2023 14:24:12 -0700 Subject: [PATCH] feat: swap text so parentId is labels market correctly as successor --- .../client-pages/markets/market-code-cell.tsx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/apps/trading/client-pages/markets/market-code-cell.tsx b/apps/trading/client-pages/markets/market-code-cell.tsx index ae97e6b5b..dcabe2e31 100644 --- a/apps/trading/client-pages/markets/market-code-cell.tsx +++ b/apps/trading/client-pages/markets/market-code-cell.tsx @@ -19,6 +19,7 @@ export const MarketCodeCell = ({ const infoSpanClasses = 'mr-1 pr-1 uppercase border-r last:pr-0 last:mr-0 last:border-r-0 border-vega-clight-200 dark:border-vega-cdark-200'; + const info = compact([ , data.parentMarketID && ( - - {t('PRNT')} - - ), - data.successorMarketID && ( ), + data.successorMarketID && ( + + {t('PRNT')} + + ), ]); return ;