chore: fix type annotations (#6600)
This commit is contained in:
parent
9815aab7a3
commit
585444c50c
12 changed files with 27 additions and 21 deletions
|
|
@ -28,7 +28,7 @@ const Category: FC<ICategoryProps> = ({
|
|||
allCategoriesEn,
|
||||
}) => {
|
||||
const { t } = useTranslation()
|
||||
const isAllCategories = !list.includes(value)
|
||||
const isAllCategories = !list.includes(value as AppCategory)
|
||||
|
||||
const itemClassName = (isSelected: boolean) => cn(
|
||||
'flex items-center px-3 py-[7px] h-[32px] rounded-lg border-[0.5px] border-transparent text-gray-700 font-medium leading-[18px] cursor-pointer hover:bg-gray-200',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue