Commit e10f339
Fix ReferenceError in server actions from type export (#8)
* Fix ReferenceError in server actions from type export
Remove the type re-export of AddressParams from addresses.ts (a "use server" module). The Next.js server actions loader miscompiles type re-exports, causing a runtime ReferenceError. Import AddressParams directly from @spree/sdk instead.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Update package-lock.json
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent d8b1563 commit e10f339
File tree
3 files changed
+1902
-1882
lines changed- src
- app/[country]/[locale]/(storefront)/account/addresses
- lib/data
3 files changed
+1902
-1882
lines changed
0 commit comments