File tree 1 file changed +2
-3
lines changed
examples/react-instantsearch/src/components
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import type { SearchClient } from 'algoliasearch/lite' ;
2
2
import type { BaseItem } from '@algolia/autocomplete-core' ;
3
- import type { AutocompleteOptions , Render } from '@algolia/autocomplete-js' ;
3
+ import type { AutocompleteOptions } from '@algolia/autocomplete-js' ;
4
4
5
5
import {
6
6
createElement ,
@@ -10,7 +10,7 @@ import {
10
10
useRef ,
11
11
useState ,
12
12
} from 'react' ;
13
- import { render } from 'react-dom' ;
13
+ import { createRoot , Root } from 'react-dom/client ' ;
14
14
15
15
import {
16
16
useHierarchicalMenu ,
@@ -29,7 +29,6 @@ import {
29
29
} from '../constants' ;
30
30
31
31
import '@algolia/autocomplete-theme-classic' ;
32
- import { createRoot , Root } from 'react-dom/client' ;
33
32
34
33
type AutocompleteProps = Partial < AutocompleteOptions < BaseItem > > & {
35
34
searchClient : SearchClient ;
You can’t perform that action at this time.
0 commit comments