diff --git a/web/lib/service/algolia.ts b/web/lib/service/algolia.ts index 14c12fe5..3b6648a1 100644 --- a/web/lib/service/algolia.ts +++ b/web/lib/service/algolia.ts @@ -7,7 +7,8 @@ export const searchClient = algoliasearch( ) const indexPrefix = ENV === 'DEV' ? 'dev-' : '' -export const searchIndexName = ENV === 'DEV' ? 'dev-contracts' : 'contractsIndex' +export const searchIndexName = + ENV === 'DEV' ? 'dev-contracts' : 'contractsIndex' export const getIndexName = (sort: string) => { return `${indexPrefix}contracts-${sort}`