Skip to content

Commit

Permalink
update imports to use 'type' in autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
vernak2539 committed Jan 29, 2024
1 parent bf334ed commit 0573244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Search/Autocomplete.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { createElement, Fragment, useEffect, useRef } from "react";
import * as autocompleteJs from "@algolia/autocomplete-js";
import { createRoot, Root } from "react-dom/client";
import { createRoot, type Root } from "react-dom/client";
import type { SearchItem } from "./types";
import type { AutocompleteOptions } from "@algolia/autocomplete-js";

Expand Down

0 comments on commit 0573244

Please sign in to comment.