mirror of
https://github.com/logos-storage/ethcc-demo.git
synced 2026-01-21 14:33:09 +00:00
17 lines
447 B
Vue
17 lines
447 B
Vue
|
|
<script setup>
|
||
|
|
import { storeToRefs } from 'pinia'
|
||
|
|
import { useEventsStore } from '../stores/events'
|
||
|
|
import StorageRequests from '../components/StorageRequests.vue'
|
||
|
|
import SkeletonLoading from '@/components/SkeletonLoading.vue'
|
||
|
|
|
||
|
|
const eventsStore = useEventsStore()
|
||
|
|
const { loading } = storeToRefs(eventsStore)
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<main>
|
||
|
|
<SkeletonLoading v-if="loading" type="image" />
|
||
|
|
<StorageRequests v-else />
|
||
|
|
</main>
|
||
|
|
</template>
|