Update component.tsx
This commit is contained in:
parent
d2faea179f
commit
05598dc953
@ -197,7 +197,6 @@ const NotesContainerGraphql: React.FC<NotesContainerGraphqlProps> = (props) => {
|
||||
const { isOpen: isSidebarContentOpen } = sidebarContent;
|
||||
const isGridLayout = useStorageKey('isGridEnabled');
|
||||
|
||||
console.log('isGridLayout', isGridLayout, 'isSidebarContentOpen', isSidebarContentOpen);
|
||||
const shouldShowSharedNotesOnPresentationArea = isGridLayout ? !!pinnedPadData
|
||||
&& pinnedPadData.sharedNotes[0]?.sharedNotesExtId === NOTES_CONFIG.id && isSidebarContentOpen : !!pinnedPadData
|
||||
&& pinnedPadData.sharedNotes[0]?.sharedNotesExtId === NOTES_CONFIG.id;
|
||||
|
Loading…
Reference in New Issue
Block a user