meilisearch-react icon indicating copy to clipboard operation
meilisearch-react copied to clipboard

Wrong get started instructions

Open kauly opened this issue 1 year ago • 1 comments

There is a typo in the README, the searchClient must be destructed from the instantMeiliSearch, like this:

const { searchClient } = instantMeiliSearch(
  'https://ms-adf78ae33284-106.lon.meilisearch.io',
  'a63da4928426f12639e19d62886f621130f3fa9ff3c7534c5d179f0f51c4f303'
);

Also the CodeSandbox is using react-instantsearch-dom instead of react-instantsearch.

Related issue: https://github.com/meilisearch/meilisearch-js-plugins/issues/1268

kauly avatar Mar 07 '24 02:03 kauly

@kauly thank you you saved me

tshmieldev avatar Mar 12 '24 10:03 tshmieldev

Both problems are now fixed, in code sandbox and in the README. Sorry for the inconvenience and thanks a lot for the report

curquiza avatar Mar 20 '24 13:03 curquiza