Skip to content

Commit ad139d4

Browse files
committed
fix component translations
Signed-off-by: shmck <[email protected]>
1 parent 3fe89f0 commit ad139d4

File tree

3 files changed

+8
-24
lines changed

3 files changed

+8
-24
lines changed

Diff for: web-app/src/App.tsx

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
import * as React from 'react'
2+
import { ConfigProvider } from '@alifd/next'
3+
import enUS from '@alifd/next/lib/locale/en-us'
24
import ErrorBoundary from './components/ErrorBoundary'
35
import Routes from './Routes'
46

57
const App = () => (
6-
<ErrorBoundary>
7-
<Routes />
8-
</ErrorBoundary>
8+
<ConfigProvider locale={enUS}>
9+
<ErrorBoundary>
10+
<Routes />
11+
</ErrorBoundary>
12+
</ConfigProvider>
913
)
1014

1115
export default App

Diff for: web-app/src/containers/SelectTutorial/forms/TutorialSelect.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const TutorialSelect = (props: Props) => {
2525
style={{ width: '100%' }}
2626
placeholder="Tutorials..."
2727
state={selectState}
28+
size="large"
2829
>
2930
{data &&
3031
data.map((tutorial) => (

Diff for: web-app/stories/Check.stories.tsx

-21
This file was deleted.

0 commit comments

Comments
 (0)