chore(app): refactor for better solidjs hygiene (#13344)
This commit is contained in:
@@ -233,6 +233,7 @@ export function applyDirectoryEvent(input: {
|
||||
}
|
||||
case "vcs.branch.updated": {
|
||||
const props = event.properties as { branch: string }
|
||||
if (input.store.vcs?.branch === props.branch) break
|
||||
const next = { branch: props.branch }
|
||||
input.setStore("vcs", next)
|
||||
if (input.vcsCache) input.vcsCache.setStore("value", next)
|
||||
|
||||
Reference in New Issue
Block a user