supermemory/apps/web/components/add-document
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
..
connections.tsx fix: remove useQuery wrapper around synchronous billing checks (#805) 2026-03-26 05:29:53 +00:00
file.tsx feat: multi-file upload queue for Add Document (#789) 2026-03-19 21:14:17 +00:00
index.tsx feat: multi-file upload queue for Add Document (#789) 2026-03-19 21:14:17 +00:00
link.tsx chore: remove the new folder and fix imports (#740) 2026-02-16 14:30:29 -07:00
note.tsx chore: remove the new folder and fix imports (#740) 2026-02-16 14:30:29 -07:00