Skip to content

Commit 7a53894

Browse files
committed
chore(teach): react keys improve
1 parent 379d44a commit 7a53894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/ktl-component/teach/components/teach-map/teach-map.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const TeachMap = ({className}) => {
2222
const items = data.map(university => {
2323
return {
2424
...university,
25-
id: `${university.title}-${university.location}`
25+
id: `${university.title}-${university.location}-${university.geo.lat}-${university.geo.lng}`
2626
}
2727
});
2828
setUniversities(items)

0 commit comments

Comments
 (0)