fix: autoFocus

This commit is contained in:
Kieran 2023-02-27 13:21:06 +00:00
parent 45c4c3bce1
commit e450cdd865
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -56,7 +56,7 @@ const SearchPage = () => {
placeholder={formatMessage(messages.SearchPlaceholder)}
value={search}
onChange={e => setSearch(e.target.value)}
autofocus
autoFocus={true}
/>
</div>
{keyword && allUsers?.slice(0, 3).map(u => <ProfilePreview actions={<></>} className="card" pubkey={u.pubkey} />)}