<script setup lang="ts">
import { useAuthStore } from '../stores/auth';
import AdminDashboard from './Dashboard.vue';
import AgentDashboard from './agent/Dashboard.vue';

const auth = useAuthStore();
</script>

<template>
  <AdminDashboard v-if="auth.isAdmin" />
  <AgentDashboard v-else />
</template>
