Next.js patches the global fetch with a cache layer that was returning stale PB responses (showing description_goods as the code itself because the snapshot was from before the import fixed the descriptions). Wrap the SDK with a custom fetch using cache: no-store so every page request gets fresh data from PocketBase. |
||
|---|---|---|
| .. | ||
| pb.ts | ||
| types.ts | ||