Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrvvu committed Nov 28, 2024
1 parent d982443 commit b981e4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/design-system/components/chip/Chip.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { CSSProperties, useState } from 'react'
import { cn } from '~/utils/cn'
// import classNames from 'classnames'
import CircleIcon from '@mui/icons-material/Circle'
import CloseRoundedIcon from '@mui/icons-material/CloseRounded'
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
Expand Down Expand Up @@ -112,7 +111,7 @@ const FilterChip: React.FC<FilterChipProps> = ({
>
<ChipContent
endIcon={endIcon}
label={selectedOption || label}
label={selectedOption ?? label}
startIcon={startIcon}
/>
{isOpen && (
Expand Down
1 change: 0 additions & 1 deletion src/design-system/stories/Chip.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { Meta } from '@storybook/react'
import Chip, { type ChipProps } from '~/design-system/components/chip/Chip'
export {}

const meta: Meta<typeof Chip> = {
title: 'Components/Chip',
Expand Down

0 comments on commit b981e4c

Please sign in to comment.