File size: 353 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import algoliasearch from 'algoliasearch/lite';

import App from './App';

const searchClient = algoliasearch(
  'latency',
  '6be0576ff61c053d5f9a3225e2a90f76'
);

export const createApp = () => {
  const indexName = 'instant_search';
  const props = {
    indexName,
    searchClient,
  };

  return {
    App,
    props,
  };
};

export default App;