Skip to content

Commit

Permalink
fix: delete Chinese locale (#38790)
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan committed Nov 21, 2022
1 parent 588a912 commit 33776d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .dumi/theme/builtins/ComponentOverview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 33776d0

Please sign in to comment.