Skip to content

Commit

Permalink
Fix typo in README.md (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaong committed May 14, 2024
1 parent 7bc4b0d commit cf47218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const documents = [
// See MiniSearch for documentation on options
const miniSearchOptions = { fields: ['name'] }

const MyComponentWithSearch = withSearch(documents, miniSearchOptions, MyComponent)
const MyComponentWithSearch = withMiniSearch(documents, miniSearchOptions, MyComponent)
```

#### Using the WithMiniSearch wrapper component:
Expand Down

0 comments on commit cf47218

Please sign in to comment.