Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit27ad5f9

Browse files
committed
[Fix]: remove duplicate event listeners
1 parent1671585 commit27ad5f9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎client/packages/lowcoder/src/comps/comps/tableComp/tableToolbarComp.tsx‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -793,18 +793,15 @@ export const TableToolbar = memo(function TableToolbar(props: {
793793

794794
consthandleDownload=useCallback(()=>{
795795
onDownload();
796-
onEvent("download");
797-
},[onDownload,onEvent]);
796+
},[onDownload]);
798797

799798
consthandleSaveChanges=useCallback(()=>{
800799
onSaveChanges();
801-
onEvent("saveChanges");
802-
},[onSaveChanges,onEvent]);
800+
},[onSaveChanges]);
803801

804802
consthandleCancelChanges=useCallback(()=>{
805803
onCancelChanges();
806-
onEvent("cancelChanges");
807-
},[onCancelChanges,onEvent]);
804+
},[onCancelChanges]);
808805

809806
consthandleColumnFilterChange=useCallback((filters:TableFilterDataType[],stackType:TableFilter["stackType"])=>{
810807
if(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp