updated navigator column
This commit is contained in:
13
src/components/columns/navigator/messages/list.tsx
Normal file
13
src/components/columns/navigator/messages/list.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { UserMini } from '@components/user/mini';
|
||||
|
||||
import { Key, memo } from 'react';
|
||||
|
||||
export const MessageList = memo(function MessageList({ data }: { data: any }) {
|
||||
return (
|
||||
<>
|
||||
{data.map((item: string, index: Key) => (
|
||||
<UserMini key={index} pubkey={item} />
|
||||
))}
|
||||
</>
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user