fix: removed dynamic translation key (#5527)

Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
This commit is contained in:
Dhruwang Jariwala
2025-05-02 11:35:23 +05:30
committed by GitHub
parent 36d02480b2
commit aad5a59e82

View File

@@ -77,7 +77,8 @@ export const SelectedRowSettings = <T,>({
return (
<div className="flex items-center gap-x-2 rounded-md bg-slate-900 p-1 px-2 text-xs text-white">
<div className="lowercase">
{selectedRowCount} {t(`common.${type}`)}s {t("common.selected")}
{selectedRowCount} {type === "response" ? t("common.responses") : t("common.contacts")}
{t("common.selected")}
</div>
<Separator />
<SelectableOption label={t("common.select_all")} onClick={() => handleToggleAllRowsSelection(true)} />