refactor(Nav/Conversation): reorganize imports and fix import paths

This commit is contained in:
Danny Avila 2023-07-27 10:11:57 -04:00 committed by Danny Avila
parent 4898f7489b
commit dd8bc39001
10 changed files with 42 additions and 25 deletions

View file

@ -1,15 +0,0 @@
import Conversation from './Conversation';
export default function Conversations({ conversations, moveToTop }) {
return (
<>
{conversations &&
conversations.length > 0 &&
conversations.map((convo) => {
return (
<Conversation key={convo.conversationId} conversation={convo} retainView={moveToTop} />
);
})}
</>
);
}