From 42f66b11f470866411ec480072219d9d1dd06bfd Mon Sep 17 00:00:00 2001 From: jahooma Date: Sun, 18 Sep 2022 00:20:50 +0000 Subject: [PATCH] Auto-prettification --- web/lib/service/algolia.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}`