Merge pull request #4222 from overleaf/ae-project-owner-id-path

Fix project owner id path in scope

GitOrigin-RevId: 5ea74a01d9feb584c4cb78b620d2f2854ee45e3f
This commit is contained in:
Miguel Serrano 2021-06-17 13:47:34 +02:00 committed by Copybot
parent 387950b495
commit 567d52c573

View file

@ -53,7 +53,7 @@ export function EditorProvider({ children, settings }) {
const [projectName, setProjectName] = useScopeValue('project.name')
const [compileGroup] = useScopeValue('project.features.compileGroup')
const [rootFolder] = useScopeValue('rootFolder')
const [ownerId] = useScopeValue('project.owner.id')
const [ownerId] = useScopeValue('project.owner._id')
const renameProject = useCallback(
newName => {