Locking the current unit and sub section nav when we’re on gated content.
Will follow up with a “locked content” UI in the next commit.
This commit is contained in:
@@ -18,7 +18,7 @@ export function useBlockAncestry(blockId) {
|
||||
}, [blocks, blockId, loaded]);
|
||||
}
|
||||
|
||||
export function useCourseStructure(courseId) {
|
||||
export function useLoadCourseStructure(courseId) {
|
||||
const { authenticatedUser } = useContext(AppContext);
|
||||
|
||||
const [blocks, setBlocks] = useState(null);
|
||||
|
||||
Reference in New Issue
Block a user