Searched refs:stripVersionFromPath (Results 1 – 3 of 3) sorted by relevance
9 import { stripVersionFromPath } from '~/common/utilities';40 const linkUrl = stripVersionFromPath(info.as || info.href);42 linkUrl === stripVersionFromPath(router?.pathname) ||43 linkUrl === stripVersionFromPath(router?.asPath)
11 import { stripVersionFromPath } from '~/common/utilities';33 const linkUrl = stripVersionFromPath(section.as || section.href);34 const pathname = stripVersionFromPath(router?.pathname);35 const asPath = stripVersionFromPath(router?.asPath);
65 export const stripVersionFromPath = (path?: string) => { constant