1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

fix pool transactions setup title, kinda

This commit is contained in:
Matthias Kretschmann 2021-09-03 14:55:53 +02:00
parent 6d7ca84056
commit 4def756c8d
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -37,10 +37,10 @@ async function getTitle(row: PoolTransaction, locale: string) {
)[0] )[0]
const secondTokenSymbol = secondToken?.poolToken.symbol const secondTokenSymbol = secondToken?.poolToken.symbol
title += `Create pool with ${formatPrice( title += `Create pool with ${formatPrice(
Math.abs(firstToken.value).toString(), Math.abs(firstToken?.value).toString(),
locale locale
)}${firstTokenSymbol} and ${formatPrice( )}${firstTokenSymbol} and ${formatPrice(
Math.abs(secondToken.value).toString(), Math.abs(secondToken?.value).toString(),
locale locale
)}${secondTokenSymbol}` )}${secondTokenSymbol}`
break break