Files
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

21 lines
361 B
JavaScript

import React from 'react';
import ChatroomPreview from './ChatroomPreview'
export default ({
chatrooms,
onEnterChatroom
}) => (
<div>
{
chatrooms.map(chatroom => (
<ChatroomPreview
key={chatroom.name}
chatroom={chatroom}
onEnter={() => onEnterChatroom(chatroom.name)}
/>
))
}
</div>
)