From c6905b4a56bc76f996194aa5a26191907116e96d Mon Sep 17 00:00:00 2001 From: Mariana Caetano Pereira <67270558+mariana-caetano@users.noreply.github.com> Date: Fri, 20 Dec 2024 11:16:19 -0300 Subject: [PATCH] Fix code example --- .../release-notes/2024-12-20-new-sponsored-count-parameter.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/release-notes/2024-12-20-new-sponsored-count-parameter.md b/docs/release-notes/2024-12-20-new-sponsored-count-parameter.md index 179f39dae0..25bebab4d0 100644 --- a/docs/release-notes/2024-12-20-new-sponsored-count-parameter.md +++ b/docs/release-notes/2024-12-20-new-sponsored-count-parameter.md @@ -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(` @@ -52,7 +52,7 @@ To fix it, follow these steps: sort: $sort term: $term selectedFacets: $selectedFacets - sponsoredCount: $sponsoredCount // Add this parameter! + sponsoredCount: $sponsoredCount ) { … }