Skip to content

Commit

Permalink
fix isMobile race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Nov 25, 2024
1 parent 79be8f6 commit bdfb752
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions components/tabs/MessagingTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,6 @@ const closeNewRecipientOverlay = () => {
showNewRecipientOverlay.value = false;
};
const isMobile = ref(window.innerWidth < 768);
const showChatDetail = ref(false);
const openChat = (counterparty) => {
Expand All @@ -445,10 +444,6 @@ const closeChat = () => {
showChatDetail.value = false;
};
window.addEventListener("resize", () => {
isMobile.value = window.innerWidth < 768;
});
// Reaktive Variable für die Steuerung des Banners
const showMsgBanner = ref(true);
Expand Down

0 comments on commit bdfb752

Please sign in to comment.