Closed VariableVic closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
nextjs-starter-medusa | ❌ Failed (Inspect) | Oct 18, 2024 1:26pm | ||
nextjs-starter-medusa-38xf | ❌ Failed (Inspect) | Oct 18, 2024 1:26pm | ||
storefront-v2-staging | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 18, 2024 1:26pm |
This pull request includes several updates to dependencies, type assertions, and code cleanup. The most important changes include updating MedusaJS dependencies to release candidates, adding type assertions in authentication functions, and optimizing import statements.
Dependency updates:
package.json
: Updated@medusajs/js-sdk
,@medusajs/ui
,@medusajs/types
, and@medusajs/ui-preset
from "preview" to "rc". [1] [2]Type assertions:
src/lib/data/customer.ts
: Added type assertions tosetAuthToken
calls insignup
andlogin
functions. [1] [2]Code cleanup:
src/modules/products/components/related-products/index.tsx
: Reordered import statements for better organization.src/modules/products/components/related-products/index.tsx
: ChangedqueryParams.tags
toqueryParams.tag_id
and mappedproduct.tags
to theirid
instead ofvalue
.