Skip to content

Commit 39c664f

Browse files
committed
.
1 parent 72d2475 commit 39c664f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/ui/sidebar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ type SidebarContextProps = {
4646
toggleSidebar: () => void
4747
content_projecct: { text: string; id: string }[] | null
4848
content_page: { text: string; id: string }[] | null
49+
pathname: string
4950
}
5051

5152
const SidebarContext = React.createContext<SidebarContextProps | null>(null)
@@ -135,6 +136,7 @@ function SidebarProvider({
135136
toggleSidebar,
136137
content_projecct,
137138
content_page,
139+
pathname,
138140
}),
139141
[state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
140142
)

0 commit comments

Comments
 (0)