diff --git a/client/src/components/ConversationList.tsx b/client/src/components/ConversationList.tsx
index 6b03224..08553b7 100644
--- a/client/src/components/ConversationList.tsx
+++ b/client/src/components/ConversationList.tsx
@@ -22,7 +22,7 @@
 import { useContext, useEffect } from 'react';
 
 import { MessengerContext } from '../contexts/MessengerProvider';
-import { Conversation } from '../models/Conversation';
+import { Conversation } from '../models/conversation';
 import { useAppSelector } from '../redux/hooks';
 import ConversationListItem from './ConversationListItem';
 
@@ -48,7 +48,7 @@
           </div>
         )}
         {conversations.map((conversation) => (
-          <ConversationListItem key={conversation.getId()} conversation={conversation} />
+          <ConversationListItem key={conversation.id} conversation={conversation} />
         ))}
         {conversations.length === 0 && (
           <div className="list-placeholder">
