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:
xxrl
2022-10-11 00:52:08 +08:00
committed by GitHub
parent 04f70cf012
commit 8d41508d6b

View File

@ -661,7 +661,7 @@ class UserEditPage extends React.Component {
return (
<div>
{
this.state.loading ? <Spin size="large" /> : (
this.state.loading ? <Spin size="large" style={{marginLeft: "50%", marginTop: "10%"}} /> : (
this.state.user !== null ? this.renderUser() :
<Result
status="404"