Skip to content

Commit 62eab51

Browse files
committed
fix side bar in bn citizen page
1 parent 9c6ae3c commit 62eab51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/shared/sidebar/ConditionalSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default function ConditionalSidebar({ tabsMenu, langData, langArray, para
2020
// console.log("Current pathname:", pathname);
2121

2222
// مسیرهایی که سایدبار نباید رندر بشن (فقط بعد از /citizens/)
23-
const pathsWithoutSidebar = ["/levels/citizen/", "/citizens/hm"];
23+
const pathsWithoutSidebar = ["/levels/citizen/", "/citizens/hm" , "citizens/bn"];
2424

2525
// چک می‌کنیم که آیا مسیر فعلی توی لیست pathsWithoutSidebar هست یا نه
2626
const shouldShowSidebar = !pathsWithoutSidebar.some(path => pathname.includes(path));

0 commit comments

Comments
 (0)