From c5a12999127c133fe152fb349bc94532bb541b87 Mon Sep 17 00:00:00 2001 From: sealday Date: Fri, 15 Mar 2024 15:06:19 +0800 Subject: [PATCH] fix: tval import error --- .../@hera/plugin-audit-logs/src/client/collections.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugins/@hera/plugin-audit-logs/src/client/collections.tsx b/packages/plugins/@hera/plugin-audit-logs/src/client/collections.tsx index 6366945f4..4889516e8 100644 --- a/packages/plugins/@hera/plugin-audit-logs/src/client/collections.tsx +++ b/packages/plugins/@hera/plugin-audit-logs/src/client/collections.tsx @@ -1,4 +1,4 @@ -import { useAuditLogsTranslation } from './locale'; +import { tval } from './locale'; export const useAuditLogsCollection = () => { return { @@ -91,7 +91,7 @@ export const useAuditLogsCollection = () => { targetKey: 'id', uiSchema: { type: 'object', - title: '{{t("Details of changes", { ns: "audit-logs" })}}', + title: tval('Details of changes'), }, }, ],