INFRA-2867 | reduce truncated text length
This commit is contained in:
@@ -12,7 +12,7 @@ export const getTruncatedProduct = (
|
||||
isUserParticipantList: boolean,
|
||||
) => {
|
||||
const product = getProduct(initialProducts);
|
||||
const TRUNCATE_PRODUCT_LIMIT = 35;
|
||||
const TRUNCATE_PRODUCT_LIMIT = 30;
|
||||
const truncatedProduct =
|
||||
product?.length > TRUNCATE_PRODUCT_LIMIT
|
||||
? `${product?.slice(0, TRUNCATE_PRODUCT_LIMIT)}...`
|
||||
|
||||
Reference in New Issue
Block a user