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 yyh
parent 363802aa66
commit ff7b62f2de
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)