fix: set password to actual text value

This commit is contained in:
diced 2023-02-17 19:44:51 -08:00
parent 93a63d3714
commit 2ef4a52be0
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1

View file

@ -131,7 +131,7 @@ export default function useUploadOptions(): [
label='Password' label='Password'
description='The password required to view this file. Leave blank for no password.' description='The password required to view this file. Leave blank for no password.'
value={state.password} value={state.password}
onChange={(e) => setState({ password: e })} onChange={(e) => setState({ password: e.currentTarget.value })}
icon={<KeyIcon />} icon={<KeyIcon />}
/> />
<Group> <Group>