From 4eff29a4826257cf015bd1cac7c1497b6d5b804c Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Tue, 21 Sep 2021 16:29:24 -0400 Subject: [PATCH] 18116: Chips guard against invariant bug Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- src/components/chips/chips.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/chips/chips.tsx b/src/components/chips/chips.tsx index 2a6fafc3..eb68ed7a 100644 --- a/src/components/chips/chips.tsx +++ b/src/components/chips/chips.tsx @@ -43,10 +43,13 @@ export const Chips = withStyles(styles)( ; } - renderChip = (value: Value, index: number) => - - + renderChip = (value: Value, index: number) => { + const { deletable, getLabel } = this.props; + return + + } type = 'chip'; @@ -132,4 +135,4 @@ interface CollectedProps { interface DraggableChipProps { value: Value; -} \ No newline at end of file +} -- 2.30.2