Merge pull request #5841 from overleaf/ae-deep-watch-rootfolder

[web] Use deep option when watching scope.rootFolder

GitOrigin-RevId: a82a74fd3dad8aad833d14b3bde1e175b6c41895
This commit is contained in:
Alf Eaton 2021-11-24 10:25:05 +00:00 committed by Copybot
parent 6cfafbe9ef
commit 830123df98

View file

@ -73,7 +73,7 @@ export function EditorProvider({ children, settings }) {
const [loading] = useScopeValue('state.loading')
const [projectName, setProjectName] = useScopeValue('project.name')
const [rootFolder] = useScopeValue('rootFolder')
const [rootFolder] = useScopeValue('rootFolder', true)
const [permissionsLevel] = useScopeValue('permissionsLevel')
const [showSymbolPalette] = useScopeValue('editor.showSymbolPalette')
const [toggleSymbolPalette] = useScopeValue('editor.toggleSymbolPalette')