Merge pull request #363 from lujakob/add-search-field-focus
feat: add search page field autofocus
This commit is contained in:
commit
688c5cf4f8
@ -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