From 20fc89f39653c53d057590d6d1e9489e6f95e287 Mon Sep 17 00:00:00 2001 From: Joshua Behrens Date: Tue, 24 Oct 2023 01:47:00 +0200 Subject: [PATCH] Change code example to have two distinct variable names --- docs/docs/guide/2_api-reference/data/get.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/guide/2_api-reference/data/get.md b/docs/docs/guide/2_api-reference/data/get.md index fed33e05..c3cef48b 100644 --- a/docs/docs/guide/2_api-reference/data/get.md +++ b/docs/docs/guide/2_api-reference/data/get.md @@ -11,8 +11,8 @@ such as when opening a page, you won't receive any data. In these cases, it's be data.get({ id: 'sw-product-detail__product', selectors: ['name', 'manufacturer.name'], -}).then((data) => { - console.log(data); +}).then((product) => { + console.log(product); }); ```