Skip to content

Commit d5688dd

Browse files
committed
handle leftover references to algoliasearch in examples
1 parent 03896df commit d5688dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/multiple-datasets-with-headers/categoriesPlugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @jsxRuntime classic */
22
/** @jsx h */
33
import { AutocompletePlugin, getAlgoliaFacets } from '@algolia/autocomplete-js';
4-
import { SearchClient } from 'algoliasearch/lite';
4+
import type { SearchClient } from 'algoliasearch-v5';
55
import { h, Fragment } from 'preact';
66

77
type CategoryItem = {

examples/playground/categoriesPlugin.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @jsxRuntime classic */
22
/** @jsx h */
33
import { AutocompletePlugin, getAlgoliaFacets } from '@algolia/autocomplete-js';
4-
import { SearchClient } from 'algoliasearch/lite';
4+
import type { SearchClient } from 'algoliasearch-v5';
55
import { h, Fragment } from 'preact';
66

77
type CategoryRecord = {

0 commit comments

Comments
 (0)