From: Stephen Smith Date: Tue, 21 Sep 2021 20:29:24 +0000 (-0400) Subject: 18116: Chips guard against invariant bug X-Git-Tag: 2.3.0^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/4eff29a4826257cf015bd1cac7c1497b6d5b804c 18116: Chips guard against invariant bug Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- 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 +}