This commit is contained in:
marshennikovaolga
2024-09-11 14:04:11 +03:00
parent 1e0e139ad8
commit 9aaac1cdfb
10 changed files with 248 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ import { LinkSection } from "./partial/link-section"
import { PageSection } from "./partial/page-section"
import { TopicSection } from "./partial/topic-section"
import { ProfileSection } from "./partial/profile-section"
import { TaskSection } from "./partial/task-section"
import { useAccountOrGuest } from "@/lib/providers/jazz-provider"
interface SidebarContextType {
@@ -124,6 +125,8 @@ const SidebarContent: React.FC = React.memo(() => {
{me._type === "Account" && <LinkSection pathname={pathname} />}
{me._type === "Account" && <PageSection pathname={pathname} />}
{me._type === "Account" && <TopicSection pathname={pathname} />}
{/* {me._type === "Account" && <TaskSection pathname={pathname} />} */}
<TaskSection pathname={pathname} />
</div>
<ProfileSection />