Skip to content

Commit

Permalink
fix: remove transition for Chat <-> Call views
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy authored and backportbot[bot] committed Sep 25, 2024
1 parent 5e105c7 commit cbe01db
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/views/MainView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
<LobbyScreen v-if="isInLobby" />
<template v-else>
<TopBar :is-in-call="isInCall" />
<TransitionWrapper name="fade">
<ChatView v-if="!isInCall" />
<CallView v-else :token="token" />
</TransitionWrapper>
<CallView v-if="isInCall" :token="token" />
<ChatView v-else />
<PollViewer />
</template>
</div>
Expand All @@ -23,7 +21,6 @@ import ChatView from '../components/ChatView.vue'
import LobbyScreen from '../components/LobbyScreen.vue'
import PollViewer from '../components/PollViewer/PollViewer.vue'
import TopBar from '../components/TopBar/TopBar.vue'
import TransitionWrapper from '../components/UIShared/TransitionWrapper.vue'

import { useIsInCall } from '../composables/useIsInCall.js'

Expand All @@ -35,7 +32,6 @@ export default {
LobbyScreen,
PollViewer,
TopBar,
TransitionWrapper,
},

props: {
Expand Down

0 comments on commit cbe01db

Please sign in to comment.