fix: tval import error

This commit is contained in:
sealday 2024-03-15 15:06:19 +08:00
parent bca3a324e4
commit c5a1299912

View File

@ -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'),
},
},
],