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:
parent
1fcc3706be
commit
8643eecfe7
3 changed files with 7 additions and 33 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { defineStore } from 'pinia'
|
||||
import { ref, computed, readonly } from 'vue'
|
||||
import { config } from '@/lib/config'
|
||||
|
||||
|
||||
// Types
|
||||
export interface Market {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue