diff --git a/webclient/src/Account.js b/webclient/src/Account.js index f807072..bd0246e 100644 --- a/webclient/src/Account.js +++ b/webclient/src/Account.js @@ -169,7 +169,7 @@ export function ImageCrop(props) { } export function AccountForm(props) { - const { token, user, refreshUser } = props; + const { token, user, refreshUser, isSignup } = props; const member = user.member; const [input, setInput] = useState({ ...member, set_details: true }); const [error, setError] = useState({}); @@ -216,19 +216,19 @@ export function AccountForm(props) {

{user.username}

- + />} - + />} } - + {!isSignup && - + } - + />} {input.photo && <> diff --git a/webclient/src/App.js b/webclient/src/App.js index d84a22c..58ca07b 100644 --- a/webclient/src/App.js +++ b/webclient/src/App.js @@ -234,11 +234,11 @@ function App() { - - - -
+ + + + diff --git a/webclient/src/Home.js b/webclient/src/Home.js index 578dae3..33593a8 100644 --- a/webclient/src/Home.js +++ b/webclient/src/Home.js @@ -264,13 +264,13 @@ export function Home(props) { return ( - + {user ? user.member.set_details ? : - + :