Skip to content

Commit

Permalink
Fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Avishka-Shamendra committed Oct 3, 2024
1 parent 7c3b31b commit bb1b0fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ const GlobalNavBar = (props) => {
let isRootPage = false;
const { pathname } = location;

/* eslint-disable max-len */
if (/^\/(apis|subscription(\/.*)?|api-products|scopes|policies|global-policies|service-catalog)($|\/$)/g.test(pathname)) {
if (/^\/(apis|subscription(\/.*)?|api-products|scopes|policies|global-policies|service-catalog)($|\/$)/g
.test(pathname)) {
isRootPage = true;
}
useEffect(() => {
Expand Down

0 comments on commit bb1b0fe

Please sign in to comment.