Skip to content

Commit 9d5a1f0

Browse files
Copilothotlong
andcommitted
fix: remove unused rowClickHandler from renderListView destructured params
Fixes TS6133: 'rowClickHandler' is declared but its value is never read. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 34816ea commit 9d5a1f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/console/src/components/ObjectView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ export function ObjectView({ dataSource, objects, onEdit }: any) {
484484
}, [drawerRecordId]);
485485

486486
// Render multi-view content via ListView plugin (for kanban, calendar, etc.)
487-
const renderListView = useCallback(({ schema: listSchema, dataSource: ds, onEdit: editHandler, onRowClick: rowClickHandler, className }: any) => {
487+
const renderListView = useCallback(({ schema: listSchema, dataSource: ds, onEdit: editHandler, className }: any) => {
488488
const key = `${objectName}-${activeView.id}-${refreshKey}`;
489489
const viewDef = activeView;
490490

0 commit comments

Comments
 (0)