refactor(tui): drop unused ComposerTab.onClose and composer re-export (#53002)

This commit is contained in:
Kit Langton
2026-10-03 21:33:55 -07:00
committed by GitHub
Unverified
parent 552d2b9c8a
commit b79da2697a
2 changed files with 0 additions and 5 deletions
@@ -9,7 +9,6 @@ export interface ComposerTab {
id: string
label: string
hints?: () => ComposerHint[]
onClose?: () => void
}
export const ComposerContext = createContext<{
@@ -9,8 +9,6 @@ import { ShellTab } from "./shell-tab"
import { TerminalsTab } from "./terminals-tab"
import { ComposerContext, type ComposerTab } from "./context"
export { useComposerTab, type ComposerHint } from "./context"
export type ComposerProps = {
sessionID: string
open: boolean
@@ -42,8 +40,6 @@ export function Composer(props: ComposerProps) {
})
function close() {
const tab = activeTab()
tab?.onClose?.()
props.onClose?.()
}