(group: IEditorGroup, file: ITabProps)
| 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) { |