chore: fix type for useTranslation in #i18n (#32134)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Stephen Zhou
2026-02-09 16:42:53 +08:00
committed by GitHub
parent e4ab6e0919
commit 4e0a7a7f9e
9 changed files with 33 additions and 35 deletions

View File

@ -38,7 +38,7 @@ const DeprecationNotice: FC<DeprecationNoticeProps> = ({
iconWrapperClassName,
textClassName,
}) => {
const { t } = useTranslation()
const { t } = useTranslation('plugin')
const deprecatedReasonKey = useMemo(() => {
if (!deprecatedReason)