From abad2914c6f1ca16e5dbcf511464aadcd3f6f458 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 2 Apr 2024 16:03:11 +1100 Subject: [PATCH] Remove translation macro (#6914) - Incorrect in this location to translate inner text --- src/frontend/src/tables/part/PartCategoryTemplateTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/tables/part/PartCategoryTemplateTable.tsx b/src/frontend/src/tables/part/PartCategoryTemplateTable.tsx index 9987cc509c..4079a1e9f4 100644 --- a/src/frontend/src/tables/part/PartCategoryTemplateTable.tsx +++ b/src/frontend/src/tables/part/PartCategoryTemplateTable.tsx @@ -90,7 +90,7 @@ export default function PartCategoryTemplateTable({}: {}) { let units = ''; if (record?.parameter_template_detail?.units) { - units = t`[${record.parameter_template_detail.units}]`; + units = `[${record.parameter_template_detail.units}]`; } return (