18123: Fix extraneous props.dispatch being passed to Typography warning
authorStephen Smith <stephen@curii.com>
Tue, 9 Nov 2021 19:37:51 +0000 (14:37 -0500)
committerStephen Smith <stephen@curii.com>
Fri, 19 Nov 2021 19:36:15 +0000 (14:36 -0500)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/views/groups-panel/groups-panel.tsx

index 98dc78ee0e10d90e172248bfce2d4ca0a6b60d0d..d99b98ff93d616360916462a0512038588c3d5d5 100644 (file)
@@ -127,4 +127,4 @@ const GroupMembersCount = connect(
         };
 
     }
-)(Typography);
+)((props: {children: number}) => (<Typography children={props.children} />));