Skip to content

feat(key-detail): scope buy cooldown fetch to the connected wallet - #1097

Merged
Chucks1093 merged 1 commit into
accesslayerorg:devfrom
KingDavid9999:fixes-issue-#915
Oct 17, 2026
Merged

Chucks1093 merged 1 commit into
accesslayerorg:devfrom
KingDavid9999:fixes-issue-#915

Conversation

@KingDavid9999

Copy link
Copy Markdown
Contributor

Fetch the trade cooldown per connected wallet so the buy button and
countdown on the key detail page reflect the wallet actually in use.

  • queryKeys: tradeCooldown accepts an optional wallet to scope the cache
  • useTradeCooldownStatus: take the wallet address, refetch on wallet
    connect/switch, and skip the fetch when no wallet is present
  • CreatorDetailPage: pass the connected address into the hook
  • tests: cover no-wallet, fetch-on-connect, and no cooldown leaking
    between wallets; repair the stale page integration test mock

Closes #915

Fetch the trade cooldown per connected wallet so the buy button and
countdown on the key detail page reflect the wallet actually in use.

- queryKeys: tradeCooldown accepts an optional wallet to scope the cache
- useTradeCooldownStatus: take the wallet address, refetch on wallet
  connect/switch, and skip the fetch when no wallet is present
- CreatorDetailPage: pass the connected address into the hook
- tests: cover no-wallet, fetch-on-connect, and no cooldown leaking
  between wallets; repair the stale page integration test mock

Closes accesslayerorg#915
@drips-wave

drips-wave Bot commented Oct 16, 2026

Copy link
Copy Markdown

@KingDavid9999 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit aae93d9 into accesslayerorg:dev Oct 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement per-wallet buy cooldown countdown display on key detail page

2 participants