<script setup lang="ts">
import { useViewport } from '../composables/useViewport';
import DesktopMessagesHubShell from './desktop/DesktopMessagesHubShell.vue';

const { isDesktop } = useViewport();
</script>

<template>
  <DesktopMessagesHubShell v-if="isDesktop">
    <RouterView />
  </DesktopMessagesHubShell>
  <RouterView v-else />
</template>
