MCPcopy Create free account
hub / github.com/DTStack/molecule / handleCloseClick

Function handleCloseClick

src/workbench/sidebar/explore/editorTree.tsx:100–102  ·  view source on GitHub ↗
(group: IEditorGroup, file: ITabProps)

Source from the content-addressed store, hash-verified

98 const contextView = useContextView();
99
100 const handleCloseClick = (group: IEditorGroup, file: ITabProps) => {
101 onClose?.(file.id!, group.id!);
102 };
103
104 const handleItemClick = (group: IEditorGroup, file: ITabProps) => {
105 if (group.id !== current?.id || file.id !== current?.tab?.id) {

Callers 1

EditorTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected