2aa9d73325
集中保留原版权声明,移除文件头检查和全局测试忽略规则。验证:全量单测、受影响用例复测及静态检查通过。
20 lines
481 B
React
20 lines
481 B
React
import React from 'react';
|
|
import { useTranslation } from 'react-i18next';
|
|
import DocumentRenderer from '../../components/common/DocumentRenderer';
|
|
|
|
const PrivacyPolicy = () => {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<DocumentRenderer
|
|
apiEndpoint='/api/privacy-policy'
|
|
title={t('隐私政策')}
|
|
cacheKey='privacy_policy'
|
|
emptyMessage={t('加载隐私政策内容失败...')}
|
|
docType='privacy'
|
|
/>
|
|
);
|
|
};
|
|
|
|
export default PrivacyPolicy;
|