fix: correctly slice user results
This commit is contained in:
parent
32abaf3fa7
commit
5a810e2048
@ -58,7 +58,7 @@ const SearchPage = () => {
|
|||||||
onChange={e => setSearch(e.target.value)}
|
onChange={e => setSearch(e.target.value)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{keyword && allUsers?.slice(3).map(u => <ProfilePreview actions={<></>} pubkey={u.pubkey} />)}
|
{keyword && allUsers?.slice(0, 3).map(u => <ProfilePreview actions={<></>} className="card" pubkey={u.pubkey} />)}
|
||||||
{keyword && (
|
{keyword && (
|
||||||
<Timeline
|
<Timeline
|
||||||
key={keyword}
|
key={keyword}
|
||||||
|
Loading…
Reference in New Issue
Block a user