Fix values in the follow form

This commit is contained in:
Gabe Kangas 2022-10-04 18:43:15 -07:00
parent 9718169686
commit 5742845b7c
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

@ -99,11 +99,11 @@ export const FollowModal: FC<FollowModalProps> = ({ handleClose, account, name }
<div>
<div className={styles.instructions}>Enter your username @server to follow</div>
<Input
value={account}
value={remoteAccount}
size="large"
onChange={e => handleAccountChange(e.target.value)}
placeholder="Your fediverse account @account@server"
defaultValue={account}
defaultValue={remoteAccount}
/>
<div className={styles.footer}>
You'll be redirected to your Fediverse server and asked to confirm the action.