Skip to content

Commit

Permalink
fix: Resolve warning regarding render parameter in autocomplete, cl…
Browse files Browse the repository at this point in the history
…oses #148
  • Loading branch information
cmfcmf committed Feb 25, 2023
1 parent c09cc94 commit 66d41e4
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,7 @@ const SearchBar = () => {
container: autocompleteRef.current,
placeholder,
// Use React instead of Preact
renderer: { createElement, Fragment },
render({ children }, root) {
render(children as any, root);
},
renderer: { createElement, Fragment, render: render as any },
// Use react-router for navigation
navigator: {
navigate({ item, itemUrl }) {
Expand Down

0 comments on commit 66d41e4

Please sign in to comment.