diff --git a/app/components/home.tsx b/app/components/home.tsx index 962811069..7e1eb03d7 100644 --- a/app/components/home.tsx +++ b/app/components/home.tsx @@ -91,7 +91,10 @@ export function ChatItem(props: { onClick={props.onClick} >
- {Locale.ChatItem.ChatItemCount(props.count).replace(/[^0-9]/g, "")} + {Locale.ChatItem.ChatItemCount(props.count).replace(/[^0-9]/g, "") + .length <= 3 + ? Locale.ChatItem.ChatItemCount(props.count).replace(/[^0-9]/g, "") + : ":)"}