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';