supermemory/apps/web/hooks
Prasanna721 694ad8123a fix: remove useQuery wrapper around synchronous billing checks (#805)
#### fix: billing subscription status race condition

 - **Bug fix**: Replaced `fetchSubscriptionStatus` (useQuery wrapper) with `getSubscriptionStatus` (pure function) — fixes intermittent "Upgrade to Pro"
  failures caused by stale cached billing state
  - **Anti-pattern**: Removed `fetchConnectionsFeature` useQuery wrapper, replaced with direct `autumn.customer?.features?.connections` read
  - **Dead code**: Removed unused `useMemoriesUsage` hook and `fetchMemoriesFeature`
2026-03-26 05:29:53 +00:00
..
use-container-tags.ts 😭 fixing builds (#767) 2026-03-05 19:26:05 -08:00
use-document-mutations.ts feat: multi-file upload queue for Add Document (#789) 2026-03-19 21:14:17 +00:00
use-project-mutations.ts 😭 fixing builds (#767) 2026-03-05 19:26:05 -08:00
use-token-usage.ts fix: remove useQuery wrapper around synchronous billing checks (#805) 2026-03-26 05:29:53 +00:00