mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 05:50:19 +08:00
fix: center loading in account page (#1209)
* fix: center loading in account page * Update UserEditPage.js Co-authored-by: Yang Luo <hsluoyz@qq.com>
This commit is contained in:
@ -661,7 +661,7 @@ class UserEditPage extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
{
|
{
|
||||||
this.state.loading ? <Spin size="large" /> : (
|
this.state.loading ? <Spin size="large" style={{marginLeft: "50%", marginTop: "10%"}} /> : (
|
||||||
this.state.user !== null ? this.renderUser() :
|
this.state.user !== null ? this.renderUser() :
|
||||||
<Result
|
<Result
|
||||||
status="404"
|
status="404"
|
||||||
|
Reference in New Issue
Block a user