From 69cbe305631b4e267791f88a1aabf5747e2d1b90 Mon Sep 17 00:00:00 2001 From: Marcin Maciaszczyk Date: Fri, 29 Nov 2024 09:11:57 +0100 Subject: [PATCH] replace honorable --- src/components/ChipList.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 && (