From 2d19e81b42085240addab23b06602625989f1922 Mon Sep 17 00:00:00 2001 From: Micha Vie Date: Thu, 15 Feb 2024 15:15:40 +0100 Subject: [PATCH] remove entity product name hardcoding --- src/shared/ui/AppSelector.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/shared/ui/AppSelector.tsx b/src/shared/ui/AppSelector.tsx index a553e28..726d1c4 100644 --- a/src/shared/ui/AppSelector.tsx +++ b/src/shared/ui/AppSelector.tsx @@ -1,4 +1,5 @@ import React from 'react' +import pluralize from 'pluralize' import { Config } from '../../config' import { Input } from '@peerme/web-ui' import { useEffect, useState } from 'react' @@ -6,7 +7,7 @@ import { _AppPresenter } from './_AppPresenter' import { Transaction } from '@multiversx/sdk-core' import { _AppSelectorItem } from './_AppSelectorItem' import { ExtensionInfo, ExtensionConfig } from '../types' -import { ProposalAction, useDebounce } from '@peerme/core-ts' +import { ProposalAction, useDebounce, EntityConfig } from '@peerme/core-ts' type NotificationType = 'success' | 'info' | 'warning' | 'error' | 'vibe' @@ -37,7 +38,9 @@ export const AppSelector = (props: Props) => { {activeApp === null && (

Apps

-

Peering DAOs can easily interact with the apps you love the most.

+

+ {pluralize(EntityConfig.ProductName)} can easily interact with the apps you love the most. +

{props.config.hasEarlyAccess && (