File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
examples/react-instantsearch/src/components Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import type { SearchClient } from 'algoliasearch/lite' ;
22import type { BaseItem } from '@algolia/autocomplete-core' ;
3- import type { AutocompleteOptions , Render } from '@algolia/autocomplete-js' ;
3+ import type { AutocompleteOptions } from '@algolia/autocomplete-js' ;
44
55import {
66 createElement ,
@@ -10,7 +10,7 @@ import {
1010 useRef ,
1111 useState ,
1212} from 'react' ;
13- import { render } from 'react-dom' ;
13+ import { createRoot , Root } from 'react-dom/client ' ;
1414
1515import {
1616 useHierarchicalMenu ,
@@ -29,7 +29,6 @@ import {
2929} from '../constants' ;
3030
3131import '@algolia/autocomplete-theme-classic' ;
32- import { createRoot , Root } from 'react-dom/client' ;
3332
3433type AutocompleteProps = Partial < AutocompleteOptions < BaseItem > > & {
3534 searchClient : SearchClient ;
You can’t perform that action at this time.
0 commit comments