mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
Fix React warnings.
This commit is contained in:
@ -29,7 +29,7 @@ class OrganizationListPage extends React.Component {
|
||||
};
|
||||
}
|
||||
|
||||
componentWillMount() {
|
||||
UNSAFE_componentWillMount() {
|
||||
this.getOrganizations();
|
||||
}
|
||||
|
||||
@ -122,7 +122,7 @@ class OrganizationListPage extends React.Component {
|
||||
sorter: (a, b) => a.websiteUrl.localeCompare(b.websiteUrl),
|
||||
render: (text, record, index) => {
|
||||
return (
|
||||
<a target="_blank" href={text}>
|
||||
<a target="_blank" rel="noreferrer" href={text}>
|
||||
{text}
|
||||
</a>
|
||||
)
|
||||
|
Reference in New Issue
Block a user