mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-29 18:52:45 +08:00
chore(tui): narrow disposal change markers
This commit is contained in:
@@ -598,9 +598,9 @@ export const { use: useData, provider: DataProvider } = createSimpleContext({
|
||||
disposed = true
|
||||
})
|
||||
// kilocode_change end
|
||||
// kilocode_change start
|
||||
onMount(() => {
|
||||
void Promise.all([
|
||||
// kilocode_change start
|
||||
reportDefaultLocationFailure(result.location.refresh(), () => disposed),
|
||||
reportDefaultLocationFailure(result.location.agent.refresh(), () => disposed),
|
||||
reportDefaultLocationFailure(result.location.integration.refresh(), () => disposed),
|
||||
@@ -609,9 +609,9 @@ export const { use: useData, provider: DataProvider } = createSimpleContext({
|
||||
reportDefaultLocationFailure(result.location.reference.refresh(), () => disposed),
|
||||
reportDefaultLocationFailure(result.location.command.refresh(), () => disposed),
|
||||
reportDefaultLocationFailure(result.location.skill.refresh(), () => disposed),
|
||||
// kilocode_change end
|
||||
])
|
||||
})
|
||||
// kilocode_change end
|
||||
|
||||
return result
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user