Vitron-Front/app/requestHandler
fazli 940cc3e859 fix(store): always revalidate public storefront product list
The seller store page (useGetSellerProducts) inherited the global 30s
staleTime with refetchOnWindowFocus disabled, so after a seller edited a
price the store tiles could keep showing the pre-edit price while the
(SSR) single-product page already showed the new one — a list-vs-detail
mismatch. The backend serves both from live DB and is consistent.

Set staleTime: 0 + refetchOnMount/refetchOnWindowFocus on the storefront
query so it revalidates on every visit and tab refocus, keeping the list
prices current.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 20:06:34 +00:00
..
use-address-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-auth-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-bookmark-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-cart-hooks.ts first 2026-04-29 01:44:16 +03:30
use-chat-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-collection-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-comments-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-courier-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-discount-hooks.ts first 2026-04-29 01:44:16 +03:30
use-explore-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-following-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-home-hooks.ts fix(product): detail page price now matches list tiles + fresher feeds 2026-06-22 19:55:11 +00:00
use-instagram-hooks.ts first 2026-04-29 01:44:16 +03:30
use-media-hooks.ts first 2026-04-29 01:44:16 +03:30
use-order-hooks.ts first 2026-04-29 01:44:16 +03:30
use-product-hooks.ts first 2026-04-29 01:44:16 +03:30
use-profile-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-search-hooks.ts first 2026-04-29 01:44:16 +03:30
use-seller-hooks.ts fix(store): always revalidate public storefront product list 2026-06-22 20:06:34 +00:00
use-shipping-hooks.ts first 2026-04-29 01:44:16 +03:30
use-user-collection-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-wallet-hooks.tsx first 2026-04-29 01:44:16 +03:30