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
|
|
@ -207,7 +207,7 @@ export const { use: useNotification, provider: NotificationProvider } = createSi
|
|||
|
||||
const lookup = async (directory: string, sessionID?: string) => {
|
||||
if (!sessionID) return undefined
|
||||
const sync = serverSync().createDirSyncContext(directory)
|
||||
const sync = serverSync().ensureDirSyncContext(directory)
|
||||
const session = sync.session.get(sessionID)
|
||||
if (session) return session
|
||||
return sync.session
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue