|
@@ -6,6 +6,7 @@ import { useCollapsedContentsOpened, useCurrentSidebarContents, useSidebarMode }
|
|
|
|
|
|
|
|
import { Bookmarks } from './Bookmarks';
|
|
import { Bookmarks } from './Bookmarks';
|
|
|
import { CustomSidebar } from './Custom';
|
|
import { CustomSidebar } from './Custom';
|
|
|
|
|
+import { InAppNotification } from './InAppNotification';
|
|
|
import { PageTree } from './PageTree';
|
|
import { PageTree } from './PageTree';
|
|
|
import { RecentChanges } from './RecentChanges';
|
|
import { RecentChanges } from './RecentChanges';
|
|
|
import Tag from './Tag';
|
|
import Tag from './Tag';
|
|
@@ -29,6 +30,8 @@ export const SidebarContents = memo(() => {
|
|
|
return Tag;
|
|
return Tag;
|
|
|
case SidebarContentsType.BOOKMARKS:
|
|
case SidebarContentsType.BOOKMARKS:
|
|
|
return Bookmarks;
|
|
return Bookmarks;
|
|
|
|
|
+ case SidebarContentsType.NOTIFICATION:
|
|
|
|
|
+ return InAppNotification;
|
|
|
default:
|
|
default:
|
|
|
return PageTree;
|
|
return PageTree;
|
|
|
}
|
|
}
|