Web:Components:CatalogItem: delete useless arg 'type' from onClick function
This commit is contained in:
parent
bfc1422ba7
commit
33780332f7
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user