refactor(tui): centralize location state

This commit is contained in:
Dax Raad 2026-07-14 23:00:41 -04:00
commit 94a23b8537
19 changed files with 174 additions and 246 deletions

View file

@ -85,7 +85,7 @@ export function PluginProvider(props: ParentProps<{ packages: PackageResolver }>
const context: Context = {
options: item.options ?? {},
get location() {
return location()
return location.current
},
client: client.api,
data,