Skip to content

Commit

Permalink
fix: resolve rebase conflicts
Browse files Browse the repository at this point in the history
Co-authored-by: Simão Sanguinho <[email protected]>
  • Loading branch information
pereira0x and simaosanguinho committed Jun 17, 2024
1 parent 2a3873c commit c3bfed6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const RightDrawerEmailThread = () => {

const { thread, messages, fetchMoreMessages, loading } =
useRightDrawerEmailThread();
const visibleMessages = getVisibleMessages(messages);
useEffect(() => {
if (!visibleMessages[0]?.messageThread) {
return;
Expand Down Expand Up @@ -70,7 +71,6 @@ export const RightDrawerEmailThread = () => {
return null;
}

const visibleMessages = getVisibleMessages(messages);
const visibleMessagesCount = visibleMessages.length;
const is5OrMoreMessages = visibleMessagesCount >= 5;
const firstMessages = visibleMessages.slice(
Expand Down

0 comments on commit c3bfed6

Please sign in to comment.