fix: autoFocus
This commit is contained in:
parent
45c4c3bce1
commit
e450cdd865
@ -56,7 +56,7 @@ const SearchPage = () => {
|
|||||||
placeholder={formatMessage(messages.SearchPlaceholder)}
|
placeholder={formatMessage(messages.SearchPlaceholder)}
|
||||||
value={search}
|
value={search}
|
||||||
onChange={e => setSearch(e.target.value)}
|
onChange={e => setSearch(e.target.value)}
|
||||||
autofocus
|
autoFocus={true}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{keyword && allUsers?.slice(0, 3).map(u => <ProfilePreview actions={<></>} className="card" pubkey={u.pubkey} />)}
|
{keyword && allUsers?.slice(0, 3).map(u => <ProfilePreview actions={<></>} className="card" pubkey={u.pubkey} />)}
|
||||||
|
Loading…
Reference in New Issue
Block a user