File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
client/packages/lowcoder/src/comps/comps/tableComp/column Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,7 @@ const ButtonEventOptions = [clickEvent] as const;
51
51
const childrenMap = {
52
52
text : StringControl ,
53
53
buttonType : dropdownControl ( ButtonTypeOptions , "primary" ) ,
54
- onEvent : eventHandlerControl ( ButtonEventOptions ) ,
55
- onClick : eventHandlerControl ( ButtonEventOptions ) , //ActionSelectorControlInContext,
54
+ onClick : eventHandlerControl ( ButtonEventOptions ) ,
56
55
loading : BoolCodeControl ,
57
56
disabled : BoolCodeControl ,
58
57
prefixIcon : IconControl ,
@@ -68,7 +67,7 @@ const ButtonStyled = React.memo(({ props }: { props: ToViewReturn<RecordConstruc
68
67
69
68
const handleClick = useCallback ( ( e : React . MouseEvent ) => {
70
69
props . onClick ?.( "click" ) ;
71
- } , [ props . onClick , props . onEvent ] ) ;
70
+ } , [ props . onClick ] ) ;
72
71
73
72
const buttonStyle = useMemo ( ( ) => ( {
74
73
margin : 0 ,
You can’t perform that action at this time.
0 commit comments