From 2b6a3249169f5d149b96c73f11c1f11b1e415b84 Mon Sep 17 00:00:00 2001 From: eugene-petrov <7125242+eugene-petrov@users.noreply.github.com> Date: Mon, 13 May 2024 19:06:42 +0200 Subject: [PATCH] Update index.md - fix of 2 typos --- src/pages/tutorials/events/custom-events/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/tutorials/events/custom-events/index.md b/src/pages/tutorials/events/custom-events/index.md index 45864b0f..6ed973e9 100644 --- a/src/pages/tutorials/events/custom-events/index.md +++ b/src/pages/tutorials/events/custom-events/index.md @@ -70,7 +70,7 @@ export default { ## wrapUseAutocomplete.js This file is a [talon wrapper](https://developer.adobe.com/commerce/pwa-studio/tutorials/targets/modify-talon-results/) that wraps around the `useAutocomplete()` talon to add additional event dispatching logic. -In `wrapUseAutocomplete.js` the search result is received and the payload defined and dispatched. This take place in the `useEffect` function: +In `wrapUseAutocomplete.js` the search result is received and the payload is defined and dispatched. This takes place in the `useEffect` function: ```javascript import { useEffect } from 'react';