From 4def756c8d85b57594f118f2f07590d4d7fd3a1e Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Fri, 3 Sep 2021 14:55:53 +0200 Subject: [PATCH] fix pool transactions setup title, kinda --- src/components/molecules/PoolTransactions/Title.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/molecules/PoolTransactions/Title.tsx b/src/components/molecules/PoolTransactions/Title.tsx index 8b5ea065c..8535a44df 100644 --- a/src/components/molecules/PoolTransactions/Title.tsx +++ b/src/components/molecules/PoolTransactions/Title.tsx @@ -37,10 +37,10 @@ async function getTitle(row: PoolTransaction, locale: string) { )[0] const secondTokenSymbol = secondToken?.poolToken.symbol title += `Create pool with ${formatPrice( - Math.abs(firstToken.value).toString(), + Math.abs(firstToken?.value).toString(), locale )}${firstTokenSymbol} and ${formatPrice( - Math.abs(secondToken.value).toString(), + Math.abs(secondToken?.value).toString(), locale )}${secondTokenSymbol}` break