Skip to content

Commit 4ea03b6

Browse files
committed
Fix Search
1 parent 96ff1ae commit 4ea03b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/AlgoliaSearch/AlgoliaSearchBox.component.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { useState } from 'react';
55
import SearchResults from './SearchResults.component';
66

77
const searchClient = algoliasearch(
8-
process.env.ALGOLIA_APP_ID,
9-
process.env.ALGOLIA_PUBLIC_API_KEY
8+
process.env.NEXT_PUBLIC_ALGOLIA_APP_ID,
9+
process.env.NEXT_PUBLIC_ALGOLIA_PUBLIC_API_KEY
1010
);
1111

1212
// https://www.algolia.com/doc/api-reference/widgets/instantsearch/react/

0 commit comments

Comments
 (0)