Closed ShoaibFarooka closed 1 day ago
Instead of adding all sub paths manually use this one line 'location.pathname.startsWith(item.path)' to check active page in sidebar
nice one Thanks
Instead of adding all sub paths manually use this one line 'location.pathname.startsWith(item.path)' to check active page in sidebar