fix: delete Chinese locale (#38790)

This commit is contained in:
lijianan 2022-11-21 16:34:21 +08:00 committed by GitHub
parent 588a912609
commit 33776d0195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,8 +115,8 @@ const Overview: React.FC = () => {
title: locale === 'zh-CN' ? '重型组件' : 'Others',
children:
locale === 'zh-CN'
? proComponentsList.map((component) => ({ ...component, subtitle: '' }))
: proComponentsList,
? proComponentsList
: proComponentsList.map((component) => ({ ...component, subtitle: '' })),
},
]);
}, [data, locale]);