Skip to content

Commit

Permalink
Merge pull request #1647 from vtexdocs/fix-code-example-release-note
Browse files Browse the repository at this point in the history
FastStore release note: Fix code example
  • Loading branch information
mariana-caetano authored Dec 20, 2024
2 parents 30e504c + c6905b4 commit 5e6667e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ To fix it, follow these steps:
1. Go to the file where you are using the `ClientManyProducts` fragment, and add the missing `sponsoredCount` parameter. For example:
```ts mark=8
```ts mark=11
import { gql } from "@faststore/core/api";

export const fragment = gql(`
Expand All @@ -52,7 +52,7 @@ To fix it, follow these steps:
sort: $sort
term: $term
selectedFacets: $selectedFacets
sponsoredCount: $sponsoredCount // Add this parameter!
sponsoredCount: $sponsoredCount
) {
}
Expand Down

0 comments on commit 5e6667e

Please sign in to comment.