fix: add missing translation function to deprecation notice component (#22767)

This commit is contained in:
Wu Tianwei
2025-07-22 13:40:30 +08:00
committed by GitHub
parent e9c9c5d8f1
commit c987001a19

View File

@@ -65,6 +65,7 @@ const DeprecationNotice: FC<DeprecationNoticeProps> = ({
{ {
hasValidDeprecatedReason && alternativePluginId && ( hasValidDeprecatedReason && alternativePluginId && (
<Trans <Trans
t={t}
i18nKey={`${i18nPrefix}.fullMessage`} i18nKey={`${i18nPrefix}.fullMessage`}
components={{ components={{
CustomLink: ( CustomLink: (