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