Skip to content

Commit 79d2a4c

Browse files
committed
[fix] 2 detail bugs
1 parent c7978f7 commit 79d2a4c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/page/Example/Carousel/Feature.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { JsxChildren } from 'dom-renderer';
22
import { FC } from 'web-cell';
33
import classNames from 'classnames';
4-
import { Image, Row } from 'boot-cell';
4+
import { Image, Row, Col } from 'boot-cell';
55

66
import * as style from './index.module.less';
77

source/page/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ export const PageRouter: FC = () => (
1515
<Router>
1616
<Route path="" component={HomePage} />
1717
{documents.map(props => (
18-
<Route {...props} />
18+
<Route key={props.path} {...props} />
1919
))}
2020
<Route path="example" component={ExampleHome} />
2121
{examples.map(route => (
22-
<Route {...route} />
22+
<Route key={route.path} {...route} />
2323
))}
2424
</Router>
2525
</PageFrame>

0 commit comments

Comments
 (0)