Skip to content

Commit

Permalink
Merge pull request Shopify#76 from Shopify/dave/breathing-heavily
Browse files Browse the repository at this point in the history
Fixed data fetching for Featured Collections and Product Swimlane on account page
  • Loading branch information
davecyen authored Oct 17, 2022
2 parents 78e78f5 + da9884f commit 403b123
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/routes/account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,13 @@ export default function Account() {
<>
<FeaturedCollections
title="Popular Collections"
data={
collections={
// @ts-expect-error Something is screwy with defer type inference here :thinking:
data.featuredCollections as Collection[]
}
/>
data.featuredCollections as Collection[]}
/>
<ProductSwimlane
// @ts-expect-error Something is screwy with defer type inference here :thinking:
data={data.featuredProducts}
products={data.featuredProducts}
/>
</>
)}
Expand Down

0 comments on commit 403b123

Please sign in to comment.