diff --git a/packages/page-staking2/src/Pools/usePoolInfo.ts b/packages/page-staking2/src/Pools/usePoolInfo.ts index c58713b0a85e..20c0cef13b73 100644 --- a/packages/page-staking2/src/Pools/usePoolInfo.ts +++ b/packages/page-staking2/src/Pools/usePoolInfo.ts @@ -35,8 +35,8 @@ const OPT_MULTI = { : null }; -function transformName (input: string): string { - return input.replace(/[^\x20-\x7E]/g, ''); +function transformName(input: string): string { + return input.replace(/[^\x20-\x7E\uD83C[\uDF00-\uDFFF]]/g, ''); } function usePoolInfoImpl (poolId: BN): PoolInfo | null | undefined {