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
|
|
@ -219,7 +219,7 @@ export class NostrClient {
|
|||
since?: number
|
||||
until?: number
|
||||
'#d'?: string[]
|
||||
} = {}): Promise<Event[]> {
|
||||
}): Promise<Event[]> {
|
||||
const {
|
||||
kinds,
|
||||
authors,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue