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