From 83028681f45dc70c8f2bce64bdb39c3ad8d87aa7 Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Wed, 10 Aug 2022 15:41:13 -0700 Subject: [PATCH] fix type error --- web/components/contract-search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/contract-search.tsx b/web/components/contract-search.tsx index 372c04da..40a62923 100644 --- a/web/components/contract-search.tsx +++ b/web/components/contract-search.tsx @@ -49,7 +49,7 @@ export const DEFAULT_SORT = 'score' type filter = 'personal' | 'open' | 'closed' | 'resolved' | 'all' export function ContractSearch(props: { - user: User | null | undefined + user?: User | null querySortOptions?: { defaultFilter?: filter } & QuerySortOptions additionalFilter?: { creatorId?: string