From 6f789c9363f63c9bfd36b92ba8339950746fea31 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Wed, 22 Jun 2022 18:45:48 -0500 Subject: [PATCH] Fix build --- web/components/contract-search.tsx | 2 +- web/pages/contract-search-firestore.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/components/contract-search.tsx b/web/components/contract-search.tsx index 4bdf4f53..2f22918a 100644 --- a/web/components/contract-search.tsx +++ b/web/components/contract-search.tsx @@ -28,7 +28,7 @@ import { Tabs } from './layout/tabs' import { EditFollowingButton } from './following-button' import { track } from '@amplitude/analytics-browser' import { trackCallback } from 'web/lib/service/analytics' -import { ContractSearchFirestore } from 'web/pages/contract-search-firestore' +import ContractSearchFirestore from 'web/pages/contract-search-firestore' const searchClient = algoliasearch( 'GJQPAYENIF', diff --git a/web/pages/contract-search-firestore.tsx b/web/pages/contract-search-firestore.tsx index f092d297..98a0f6cb 100644 --- a/web/pages/contract-search-firestore.tsx +++ b/web/pages/contract-search-firestore.tsx @@ -9,7 +9,7 @@ import { useInitialQueryAndSort, } from 'web/hooks/use-sort-and-query-params' -export function ContractSearchFirestore(props: { +export default function ContractSearchFirestore(props: { querySortOptions?: { defaultSort: Sort shouldLoadFromStorage?: boolean