diff --git a/src/components/ChipList.tsx b/src/components/ChipList.tsx index fe89b8b3..7fb54dd3 100644 --- a/src/components/ChipList.tsx +++ b/src/components/ChipList.tsx @@ -1,4 +1,3 @@ -import { Flex, Span } from 'honorable' import isEmpty from 'lodash-es/isEmpty' import { type ComponentProps, @@ -8,6 +7,7 @@ import { } from 'react' import Chip, { type ChipProps } from './Chip' +import Flex from './Flex' type TransformFn = ( value: TValue @@ -55,11 +55,9 @@ function ChipList({ wrap="wrap" > {isEmpty(values) && - (emptyState !== undefined ? ( - emptyState - ) : ( - There is nothing to display here. - ))} + (emptyState !== undefined + ? emptyState + : 'There is nothing to display here.')} {values.slice(0, limit).map(chip)} {values.length > limit && (