refactor(app): rename cached context accessors (#33627)
This commit is contained in:
parent
2312a15e57
commit
cacb7d045f
14 changed files with 30 additions and 30 deletions
|
|
@ -91,7 +91,7 @@ export function SessionComposerRegion(props: {
|
|||
})
|
||||
const projectServerCtx = createMemo(() => {
|
||||
const conn = projectServer()
|
||||
if (conn) return global.createServerCtx(conn)
|
||||
if (conn) return global.ensureServerCtx(conn)
|
||||
})
|
||||
const projects = createMemo(() =>
|
||||
search.draftId ? (projectServerCtx()?.projects.list() ?? []) : layout.projects.list(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue