mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-22 18:25:47 +08:00
Fix console warnings.
This commit is contained in:
parent
e4b6f758a7
commit
f4db41acb3
@ -6,16 +6,6 @@
|
||||
"src": "favicon.png",
|
||||
"sizes": "64x64 32x32 24x24 16x16",
|
||||
"type": "image/x-icon"
|
||||
},
|
||||
{
|
||||
"src": "logo192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "logo512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": ".",
|
||||
|
@ -52,6 +52,7 @@ class OrganizationListPage extends React.Component {
|
||||
favicon: "https://cdn.casbin.com/static/favicon.ico",
|
||||
passwordType: "plain",
|
||||
PasswordSalt: "",
|
||||
phonePrefix: "86",
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -133,7 +133,7 @@ class UserEditPage extends React.Component {
|
||||
const linkedValue = this.state.user[provider.type.toLowerCase()];
|
||||
|
||||
return (
|
||||
<Row style={{marginTop: '20px'}} >
|
||||
<Row key={provider.name} style={{marginTop: '20px'}} >
|
||||
<Col style={{marginTop: '5px'}} span={2}>
|
||||
{
|
||||
Setting.getProviderLogo(provider)
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
import React from 'react';
|
||||
import {Link} from "react-router-dom";
|
||||
import {Form, Input, Select, Checkbox, Button, Row, Col, Result} from 'antd';
|
||||
import {Form, Input, Checkbox, Button, Row, Col, Result} from 'antd';
|
||||
import * as Setting from "../Setting";
|
||||
import * as AuthBackend from "./AuthBackend";
|
||||
import i18next from "i18next";
|
||||
@ -22,8 +22,6 @@ import * as Util from "./Util";
|
||||
import {authConfig} from "./Auth";
|
||||
import * as ApplicationBackend from "../backend/ApplicationBackend";
|
||||
|
||||
const { Option } = Select;
|
||||
|
||||
const formItemLayout = {
|
||||
labelCol: {
|
||||
xs: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user