Remove unnecessary equality test

environments/review-develop-3zknud/deployments/2716^2
oakes 2 years ago
parent 1b00de14a6
commit f1a14efc58

@ -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…
Cancel
Save