0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

feat(console): add contact us help tip for downgrade modal (#4202)

This commit is contained in:
Xiao Yijun 2023-07-21 17:10:06 +08:00 committed by GitHub
parent 62c2c2ca8f
commit bc2feb6c74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
import { conditional } from '@silverhand/essentials';
import { Trans, useTranslation } from 'react-i18next';
import ContactUsPhraseLink from '@/components/ContactUsPhraseLink';
import PlanName from '@/components/PlanName';
import {
quotaItemLimitedPhrasesMap,
@ -78,6 +79,13 @@ function NotEligibleDowngradeModalContent({ targetPlan }: Props) {
);
})}
</ul>
<Trans
components={{
a: <ContactUsPhraseLink />,
}}
>
{t('subscription.downgrade_modal.help_tip')}
</Trans>
</div>
);
}