We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6ae3c commit 62eab51Copy full SHA for 62eab51
1 file changed
src/components/shared/sidebar/ConditionalSidebar.tsx
@@ -20,7 +20,7 @@ export default function ConditionalSidebar({ tabsMenu, langData, langArray, para
20
// console.log("Current pathname:", pathname);
21
22
// مسیرهایی که سایدبار نباید رندر بشن (فقط بعد از /citizens/)
23
- const pathsWithoutSidebar = ["/levels/citizen/", "/citizens/hm"];
+ const pathsWithoutSidebar = ["/levels/citizen/", "/citizens/hm" , "citizens/bn"];
24
25
// چک میکنیم که آیا مسیر فعلی توی لیست pathsWithoutSidebar هست یا نه
26
const shouldShowSidebar = !pathsWithoutSidebar.some(path => pathname.includes(path));
0 commit comments