mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 21:30:24 +08:00
fix: fix all frontend warnings (#983)
* fix:fix all frontend warnings * fix:fix all frontend warnings * fix:fix all frontend warnings * fix:fix all frontend warnings * fix:fix all frontend warnings * fix:fix all frontend warnings
This commit is contained in:
@ -84,7 +84,7 @@ class HomePage extends React.Component {
|
||||
{
|
||||
items.map(item => {
|
||||
return (
|
||||
<SingleCard logo={item.logo} link={item.link} title={item.name} desc={item.organizer} isSingle={items.length === 1} />
|
||||
<SingleCard key={item.link} logo={item.logo} link={item.link} title={item.name} desc={item.organizer} isSingle={items.length === 1} />
|
||||
);
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user