Fix hasNoHeader function
This commit is contained in:
parent
3af1919ef7
commit
ee47242834
@ -335,7 +335,10 @@ export const hasNoHeader = (path: string) => {
|
||||
let result = true;
|
||||
|
||||
withoutHeaderRoutes.forEach((route) => {
|
||||
if (path === route) {
|
||||
if (
|
||||
!path.includes("palmistry") && path.includes(route) ||
|
||||
path.includes("palmistry") && path === route
|
||||
) {
|
||||
result = false;
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user