From b8911cafe8b4eb094e7199b3437d6f8ac6f97dee Mon Sep 17 00:00:00 2001 From: ingawei <46611122+ingawei@users.noreply.github.com> Date: Wed, 5 Oct 2022 17:07:41 -0500 Subject: [PATCH] market group modal scroll fix (#1009) --- .../groups/contract-groups-list.tsx | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/web/components/groups/contract-groups-list.tsx b/web/components/groups/contract-groups-list.tsx index d39a35d3..e19e2113 100644 --- a/web/components/groups/contract-groups-list.tsx +++ b/web/components/groups/contract-groups-list.tsx @@ -53,30 +53,30 @@ export function ContractGroupsList(props: { /> )} - {groups.length === 0 && ( - - No groups yet... - - )} - {groups.map((group) => ( - - - + + {groups.length === 0 && ( + No groups yet... + )} + {groups.map((group) => ( + + + + + {user && canModifyGroupContracts(group, user.id) && ( + + )} - {user && canModifyGroupContracts(group, user.id) && ( - - )} - - ))} + ))} + ) }