Skip to content

Commit fe9bfa6

Browse files
fix: fixes from review
Co-authored-by: Navin Karkera <[email protected]>
1 parent 5af5916 commit fe9bfa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/course-unit/unit-sidebar/UnitSidebarPagesContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const UnitSidebarPagesProvider = ({ children }: UnitSidebarPagesProviderP
9393

9494
const sidebarPages = useMemo(
9595
() => getUnitSidebarPages(readOnly, disableAdd),
96-
[readOnly, hasComponentSelected],
96+
[readOnly, disableAdd],
9797
);
9898

9999
return (

0 commit comments

Comments
 (0)