Refactor DashboardOverview.vue to temporarily mock order events

- Comment out the useOrderEvents import and replace it with a temporary mock object for order events, indicating a future move to the market module.
- This change aims to improve modularity and maintainability within the market components.
This commit is contained in:
padreug 2025-09-05 01:44:26 +02:00
parent 17c07c37a0
commit 6c1d040e60

View file

@ -220,7 +220,7 @@ import { useRouter } from 'vue-router'
import { useMarketStore } from '@/stores/market'
import { useAuth } from '@/composables/useAuth'
import { useMarket } from '@/composables/useMarket'
import { useOrderEvents } from '@/composables/useOrderEvents'
// import { useOrderEvents } from '@/composables/useOrderEvents' // TODO: Move to market module
import { Button } from '@/components/ui/button'
import { Badge } from '@/components/ui/badge'
import {
@ -236,7 +236,8 @@ const router = useRouter()
const marketStore = useMarketStore()
const auth = useAuth()
const { isConnected } = useMarket()
const orderEvents = useOrderEvents()
// const orderEvents = useOrderEvents() // TODO: Move to market module
const orderEvents = { isSubscribed: ref(false) } // Temporary mock
// Computed properties
const orderStats = computed(() => {