Remove unnecessary equality test
This commit is contained in:
parent
1b00de14a6
commit
f1a14efc58
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const ConversationsList: React.FC = () => {
|
|||
|
||||
const conversations = useAppSelector((state) => state.conversations.items);
|
||||
const isLoading = useAppSelector((state) => state.conversations.isLoading);
|
||||
const hasMore = useAppSelector((state) => state.conversations.hasMore === true);
|
||||
const hasMore = useAppSelector((state) => state.conversations.hasMore);
|
||||
|
||||
const getCurrentIndex = (id: string) => conversations.findIndex(x => x.id === id);
|
||||
|
||||
|
|
Loading…
Reference in a new issue