diff --git a/README.md b/README.md index a7b728c..dd353db 100644 --- a/README.md +++ b/README.md @@ -207,11 +207,11 @@ Here's how you can retrieve recent records and set them as default search result 1. Initialize the lookup default results when the parent component loads: - ```js - connectedCallback() { - this.initLookupDefaultResults(); - } - ``` + ```js + connectedCallback() { + this.initLookupDefaultResults(); + } + ``` > [!NOTE] > `initLookupDefaultResults()` is called in two places because the wire could load before the lookup is rendered.