Web:Components:CatalogItem: delete useless arg 'type' from onClick function

This commit is contained in:
TimofeyBoyko 2022-07-14 07:11:57 +03:00
parent bfc1422ba7
commit 33780332f7

View File

@ -23,7 +23,6 @@ const CatalogItem = (props) => {
const {
className,
id,
type,
style,
icon,
text,
@ -44,7 +43,7 @@ const CatalogItem = (props) => {
} = props;
const onClickAction = () => {
onClick && onClick(id, type);
onClick && onClick(id);
};
const onClickBadgeAction = (e) => {