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

@ -219,7 +219,7 @@ export class NostrClient {
since?: number
until?: number
'#d'?: string[]
} = {}): Promise<Event[]> {
}): Promise<Event[]> {
const {
kinds,
authors,