From 9577955d2d13fb01b5029d443a2f354342aa8904 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Fri, 2 Sep 2022 18:08:53 -0600 Subject: [PATCH] Remove null check --- web/pages/groups.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pages/groups.tsx b/web/pages/groups.tsx index dfb19c69..76c859c3 100644 --- a/web/pages/groups.tsx +++ b/web/pages/groups.tsx @@ -25,11 +25,11 @@ import { searchInAny } from 'common/util/parse' import { SEO } from 'web/components/SEO' export async function getStaticProps() { - let groups = await listAllGroups().catch((_) => []) + const groups = await listAllGroups().catch((_) => []) // mqp: temporary fix to make dev deploy while Ian works on migrating groups away // from the document array member and contracts representation - groups = groups.filter((g) => g.contractIds != null && g.memberIds != null) + // groups = groups.filter((g) => g.contractIds != null && g.memberIds != null) const creators = await Promise.all( groups.map((group) => getUser(group.creatorId))