From 202132868f0054a975c6a6adec7619da6544104e Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Wed, 20 Jul 2022 12:35:04 -0700 Subject: [PATCH] lint and prettier --- web/lib/firebase/groups.ts | 7 ++++++- web/pages/group/[...slugs]/index.tsx | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/web/lib/firebase/groups.ts b/web/lib/firebase/groups.ts index 0122e2ee..fc028642 100644 --- a/web/lib/firebase/groups.ts +++ b/web/lib/firebase/groups.ts @@ -22,7 +22,12 @@ export const groups = coll('groups') export function groupPath( groupSlug: string, - subpath?: 'edit' | 'questions' | 'about' | typeof GROUP_CHAT_SLUG | 'leaderboards' + subpath?: + | 'edit' + | 'questions' + | 'about' + | typeof GROUP_CHAT_SLUG + | 'leaderboards' ) { return `/group/${groupSlug}${subpath ? `/${subpath}` : ''}` } diff --git a/web/pages/group/[...slugs]/index.tsx b/web/pages/group/[...slugs]/index.tsx index f95cf399..8f1b6593 100644 --- a/web/pages/group/[...slugs]/index.tsx +++ b/web/pages/group/[...slugs]/index.tsx @@ -42,7 +42,6 @@ import { getSavedSort } from 'web/hooks/use-sort-and-query-params' import { ChoicesToggleGroup } from 'web/components/choices-toggle-group' import { toast } from 'react-hot-toast' import { useCommentsOnGroup } from 'web/hooks/use-comments' -import { ShareIconButton } from 'web/components/share-icon-button' import { REFERRAL_AMOUNT } from 'common/user' import { ContractSearch } from 'web/components/contract-search' import clsx from 'clsx'