Skip to content

Commit

Permalink
chore: update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed Jun 27, 2024
1 parent 0bbaf6c commit 9da66b7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/react-instantsearch/src/components/Autocomplete.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { SearchClient } from 'algoliasearch/lite';
import type { BaseItem } from '@algolia/autocomplete-core';
import type { AutocompleteOptions, Render } from '@algolia/autocomplete-js';
import type { AutocompleteOptions } from '@algolia/autocomplete-js';

import {
createElement,
Expand All @@ -10,7 +10,7 @@ import {
useRef,
useState,
} from 'react';
import { render } from 'react-dom';
import { createRoot, Root } from 'react-dom/client';

import {
useHierarchicalMenu,
Expand All @@ -29,7 +29,6 @@ import {
} from '../constants';

import '@algolia/autocomplete-theme-classic';
import { createRoot, Root } from 'react-dom/client';

type AutocompleteProps = Partial<AutocompleteOptions<BaseItem>> & {
searchClient: SearchClient;
Expand Down

0 comments on commit 9da66b7

Please sign in to comment.