<script setup lang="ts">
import { useColorMode } from '@vueuse/core'
import Navbar from '@/customcompometns/Navbar.vue';
import DeviceComponent from '@/customcompometns/DeviceComponent.vue';
import { useRoute } from 'vue-router';
import { computed } from 'vue';
const mode = useColorMode()
const route = useRoute()
const guid = computed(() => String(route.params.guid ?? route.query.guid ?? ''))
</script>

<template>
    <Navbar>
        <DeviceComponent :guid="guid"></DeviceComponent>
    </Navbar>
</template>