Skip to content

Commit 180ac8e

Browse files
fix: fixed right panel closing issue
1 parent f28528e commit 180ac8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/courseware/course/new-sidebar/SidebarContextProvider.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const SidebarProvider: React.FC<Props> = ({
5454
}, [courseId]);
5555

5656
useEffect(() => {
57+
window.sessionStorage.setItem('hideCourseOutlineSidebar', 'true');
5758
setHideDiscussionbar(!isDiscussionbarAvailable);
5859
setHideNotificationbar(!isNotificationbarAvailable);
5960
if (initialSidebar && currentSidebar !== initialSidebar) {

0 commit comments

Comments
 (0)