refactor: Simplify useMarket composable by removing unused client references and improving parameter naming

- Eliminate unnecessary Nostr client retrieval in publishProduct and publishStall functions.
- Update parameter names in event processing functions for clarity, using underscores for unused parameters.
- Clean up imports in useMarket.ts to streamline the codebase.
This commit is contained in:
padreug 2025-08-02 18:19:27 +02:00
parent 1fcc3706be
commit 8643eecfe7
3 changed files with 7 additions and 33 deletions

View file

@ -1,6 +1,6 @@
import { defineStore } from 'pinia'
import { ref, computed, readonly } from 'vue'
import { config } from '@/lib/config'
// Types
export interface Market {