SoapboxConfig: fix UX of homepage redirect input

This commit is contained in:
Alex Gleason 2023-01-15 13:22:03 -06:00
parent a81577bcf6
commit 5f747fa703
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -286,7 +286,7 @@ const SoapboxConfig: React.FC = () => {
<Input
type='text'
placeholder={intl.formatMessage(messages.redirectRootNoLoginPlaceholder)}
value={soapbox.redirectRootNoLogin}
value={String(data.get('redirectRootNoLogin', ''))}
onChange={handleChange(['redirectRootNoLogin'], (e) => e.target.value)}
/>
</ListItem>