mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-28 20:04:26 +00:00
refactor(i18n): address code review feedback on string legos, hardcoded locales, and fragile checks
This commit is contained in:
@@ -604,7 +604,7 @@ export const ChatInput = React.forwardRef<HTMLDivElement, ChatInputProps>(
|
||||
{replyingTo && (
|
||||
<div className="flex items-center justify-between bg-muted p-2 px-3 rounded-lg border border-border">
|
||||
<div className="text-xs text-muted-foreground truncate mr-2">
|
||||
{m.reply_to()} {replyingTo.message}
|
||||
{m.reply_to_message({ message: replyingTo.message || '' })}
|
||||
</div>
|
||||
<button
|
||||
onClick={onCancelReply}
|
||||
|
||||
Reference in New Issue
Block a user