fix: auto-expand multi-language card when toggle is enabled (#7494)

When the Multiple Languages toggle was turned on, users had to separately
click the card to expand it. Now the card auto-expands on activation,
matching the pattern used by the welcome card toggle.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dhruwang
2026-03-17 17:45:55 +05:30
parent a51a006c26
commit e2837bccec

View File

@@ -163,6 +163,9 @@ export const MultiLanguageCard: FC<MultiLanguageCardProps> = ({
}
} else {
setIsMultiLanguageActivated(true);
if (!open) {
setOpen(true);
}
}
};